summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/hugetlbfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index aa93f9532607..e425ad9d0490 100644
--- a/fs/hugetlbfs/inode.c
+++ b/fs/hugetlbfs/inode.c
@@ -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;