switch vfs_mkdir() and ->mkdir() to umode_t
[deliverable/linux.git] / fs / ocfs2 / dlmfs / dlmfs.c
index b420767970492082b357cf67f8735894dd7e103f..77c8d80694612037f0e3104b7b8b5ec6aa94841b 100644 (file)
@@ -354,7 +354,6 @@ static struct inode *dlmfs_alloc_inode(struct super_block *sb)
 static void dlmfs_i_callback(struct rcu_head *head)
 {
        struct inode *inode = container_of(head, struct inode, i_rcu);
-       INIT_LIST_HEAD(&inode->i_dentry);
        kmem_cache_free(dlmfs_inode_cache, DLMFS_I(inode));
 }
 
@@ -489,7 +488,7 @@ static struct inode *dlmfs_get_inode(struct inode *parent,
 /* SMP-safe */
 static int dlmfs_mkdir(struct inode * dir,
                       struct dentry * dentry,
-                      int mode)
+                      umode_t mode)
 {
        int status;
        struct inode *inode = NULL;
This page took 0.025421 seconds and 5 git commands to generate.