summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/super.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-03-23 12:00:42 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 16:38:13 +0100
commit7bf6d78dd93ccc52cd2cac5066c4b84834e4f1f2 (patch)
treed48db5d52dd3b9c7942d3af8ff1393bc4ed10d81 /fs/hpfs/super.c
parent[PATCH] sem2mutex: autofs4 wq_sem (diff)
downloadlinux-7bf6d78dd93ccc52cd2cac5066c4b84834e4f1f2.tar.xz
linux-7bf6d78dd93ccc52cd2cac5066c4b84834e4f1f2.zip
[PATCH] sem2mutex: HPFS
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> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--fs/hpfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index 63e88d7e2c3b..9488a794076e 100644
--- a/fs/hpfs/super.c
+++ b/fs/hpfs/super.c
@@ -181,8 +181,8 @@ static void init_once(void * foo, kmem_cache_t * cachep, unsigned long flags)
if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
SLAB_CTOR_CONSTRUCTOR) {
- init_MUTEX(&ei->i_sem);
- init_MUTEX(&ei->i_parent);
+ mutex_init(&ei->i_mutex);
+ mutex_init(&ei->i_parent_mutex);
inode_init_once(&ei->vfs_inode);
}
}