From 18df22524202ebd3416f391393e5aa986a31dc9d Mon Sep 17 00:00:00 2001
From: Al Viro <viro@zeniv.linux.org.uk>
Date: Sun, 24 Jul 2011 23:17:40 -0400
Subject: [PATCH] hugetlbfs: propagate umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 fs/hugetlbfs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 
-- 
GitLab