summaryrefslogtreecommitdiffstats
path: root/fs/autofs4/inode.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-03-23 12:00:41 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 16:38:13 +0100
commit1d5599e397dcc7c2300d200e66dad326d7dbac38 (patch)
treebeaa29f23c35375bbff4b5b256e96dd3b13c5728 /fs/autofs4/inode.c
parent[PATCH] sem2mutex: JFFS (diff)
downloadlinux-1d5599e397dcc7c2300d200e66dad326d7dbac38.tar.xz
linux-1d5599e397dcc7c2300d200e66dad326d7dbac38.zip
[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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c
index 2d3082854a29..1ad98d48e550 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;