hugetlbfs: propagate umode_t
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Jul 2011 03:17:40 +0000 (23:17 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:55:05 +0000 (22:55 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hugetlbfs/inode.c

index aa93f9532607305894ca5d3ff9957120fd3a7d12..e425ad9d049008fb23d8f65cf5c1a9147154f69c 100644 (file)
@@ -472,7 +472,7 @@ static struct inode *hugetlbfs_get_root(struct super_block *sb,
 
 static struct inode *hugetlbfs_get_inode(struct super_block *sb,
                                        struct inode *dir,
-                                       int mode, dev_t dev)
+                                       umode_t mode, dev_t dev)
 {
        struct inode *inode;