diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-23 03:00:41 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-23 07:38:13 -0800 |
commit | 1d5599e397dcc7c2300d200e66dad326d7dbac38 (patch) | |
tree | beaa29f23c35375bbff4b5b256e96dd3b13c5728 /fs/autofs4/inode.c | |
parent | 1eb0d67007e75697a7b87e6b611be935a991395c (diff) | |
download | op-kernel-dev-1d5599e397dcc7c2300d200e66dad326d7dbac38.zip op-kernel-dev-1d5599e397dcc7c2300d200e66dad326d7dbac38.tar.gz |
[PATCH] sem2mutex: autofs4 wq_sem
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/autofs4/inode.c')
-rw-r--r-- | fs/autofs4/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index 2d30828..1ad98d4 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c @@ -269,7 +269,7 @@ int autofs4_fill_super(struct super_block *s, void *data, int silent) sbi->sb = s; sbi->version = 0; sbi->sub_version = 0; - init_MUTEX(&sbi->wq_sem); + mutex_init(&sbi->wq_mutex); spin_lock_init(&sbi->fs_lock); sbi->queues = NULL; s->s_blocksize = 1024; |