diff options
Diffstat (limited to 'fs/fat/namei_vfat.c')
-rw-r--r-- | fs/fat/namei_vfat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/namei_vfat.c b/fs/fat/namei_vfat.c index a87a65663c25..3a444b4e2368 100644 --- a/fs/fat/namei_vfat.c +++ b/fs/fat/namei_vfat.c | |||
@@ -781,7 +781,7 @@ error: | |||
781 | return ERR_PTR(err); | 781 | return ERR_PTR(err); |
782 | } | 782 | } |
783 | 783 | ||
784 | static int vfat_create(struct inode *dir, struct dentry *dentry, int mode, | 784 | static int vfat_create(struct inode *dir, struct dentry *dentry, umode_t mode, |
785 | struct nameidata *nd) | 785 | struct nameidata *nd) |
786 | { | 786 | { |
787 | struct super_block *sb = dir->i_sb; | 787 | struct super_block *sb = dir->i_sb; |
@@ -870,7 +870,7 @@ out: | |||
870 | return err; | 870 | return err; |
871 | } | 871 | } |
872 | 872 | ||
873 | static int vfat_mkdir(struct inode *dir, struct dentry *dentry, int mode) | 873 | static int vfat_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) |
874 | { | 874 | { |
875 | struct super_block *sb = dir->i_sb; | 875 | struct super_block *sb = dir->i_sb; |
876 | struct inode *inode; | 876 | struct inode *inode; |