aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/affs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/affs/super.c b/fs/affs/super.c
index 33c4e7eef470..9581ea94d5a1 100644
--- a/fs/affs/super.c
+++ b/fs/affs/super.c
@@ -109,8 +109,8 @@ static void init_once(void *foo)
109{ 109{
110 struct affs_inode_info *ei = (struct affs_inode_info *) foo; 110 struct affs_inode_info *ei = (struct affs_inode_info *) foo;
111 111
112 init_MUTEX(&ei->i_link_lock); 112 sema_init(&ei->i_link_lock, 1);
113 init_MUTEX(&ei->i_ext_lock); 113 sema_init(&ei->i_ext_lock, 1);
114 inode_init_once(&ei->vfs_inode); 114 inode_init_once(&ei->vfs_inode);
115} 115}
116 116