aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/shmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index b8a8ddf069d0..542aad28928d 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -1499,7 +1499,7 @@ static int shmem_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
1499 return 0; 1499 return 0;
1500} 1500}
1501 1501
1502static int shmem_create(struct inode *dir, struct dentry *dentry, int mode, 1502static int shmem_create(struct inode *dir, struct dentry *dentry, umode_t mode,
1503 struct nameidata *nd) 1503 struct nameidata *nd)
1504{ 1504{
1505 return shmem_mknod(dir, dentry, mode | S_IFREG, 0); 1505 return shmem_mknod(dir, dentry, mode | S_IFREG, 0);