switch ->mknod() to umode_t
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / mm / shmem.c
index 542aad28928d3fd2e529635255dfc2bdcdc5d755..4000f370948c2f6c44acb2dc5442cdd2bd10c73c 100644 (file)
@@ -1456,7 +1456,7 @@ static int shmem_statfs(struct dentry *dentry, struct kstatfs *buf)
  * File creation. Allocate an inode, and we're done..
  */
 static int
-shmem_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev)
+shmem_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
 {
        struct inode *inode;
        int error = -ENOSPC;