]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/hpfs/super.c
[PATCH] sem2mutex: HPFS
[linux-2.6-omap-h63xx.git] / fs / hpfs / super.c
index 63e88d7e2c3b56842fb38d12a9bebb2d6d837724..9488a794076e08539f535f5a2cd096990c58ed3a 100644 (file)
@@ -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);
        }
 }