aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 01:52:52 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:54:54 -0500
commit1a67aafb5f72a436ca044293309fa7e6351d6a35 (patch)
treed9e58600148de9d41b478cf815773b746647d15b /mm/shmem.c
parent4acdaf27ebe2034c342f3be57ef49aed1ad885ef (diff)
switch ->mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/shmem.c')
-rw-r--r--mm/shmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index 542aad28928d..4000f370948c 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -1456,7 +1456,7 @@ static int shmem_statfs(struct dentry *dentry, struct kstatfs *buf)
1456 * File creation. Allocate an inode, and we're done.. 1456 * File creation. Allocate an inode, and we're done..
1457 */ 1457 */
1458static int 1458static int
1459shmem_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) 1459shmem_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
1460{ 1460{
1461 struct inode *inode; 1461 struct inode *inode;
1462 int error = -ENOSPC; 1462 int error = -ENOSPC;