switch ->create() to umode_t
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / fs / nilfs2 / namei.c
index e5e7311f1b92abe20b7213b1efb97e6795ac6889..fcd86c38f9686805e3fcfbcb3b5b2da00936e5a6 100644 (file)
@@ -84,7 +84,7 @@ nilfs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
  * If the create succeeds, we fill in the inode information
  * with d_instantiate().
  */
-static int nilfs_create(struct inode *dir, struct dentry *dentry, int mode,
+static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
                        struct nameidata *nd)
 {
        struct inode *inode;