]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/omfs/dir.c
omfs: propagate umode_t
[karo-tx-linux.git] / fs / omfs / dir.c
index d82599f49f6db1c04549b7906ec97f8b6c07b1a2..f00576ec320f26384a021d8cecab6fbcde93dd6a 100644 (file)
@@ -255,7 +255,7 @@ static int omfs_remove(struct inode *dir, struct dentry *dentry)
        return 0;
 }
 
-static int omfs_add_node(struct inode *dir, struct dentry *dentry, int mode)
+static int omfs_add_node(struct inode *dir, struct dentry *dentry, umode_t mode)
 {
        int err;
        struct inode *inode = omfs_new_inode(dir, mode);