diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 01:52:52 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:54 -0500 |
commit | 1a67aafb5f72a436ca044293309fa7e6351d6a35 (patch) | |
tree | d9e58600148de9d41b478cf815773b746647d15b /fs/hugetlbfs | |
parent | 4acdaf27ebe2034c342f3be57ef49aed1ad885ef (diff) |
switch ->mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hugetlbfs')
-rw-r--r-- | fs/hugetlbfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 57996c3d8d0c..698485ce5f3f 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c | |||
@@ -500,7 +500,7 @@ static struct inode *hugetlbfs_get_inode(struct super_block *sb, uid_t uid, | |||
500 | * File creation. Allocate an inode, and we're done.. | 500 | * File creation. Allocate an inode, and we're done.. |
501 | */ | 501 | */ |
502 | static int hugetlbfs_mknod(struct inode *dir, | 502 | static int hugetlbfs_mknod(struct inode *dir, |
503 | struct dentry *dentry, int mode, dev_t dev) | 503 | struct dentry *dentry, umode_t mode, dev_t dev) |
504 | { | 504 | { |
505 | struct inode *inode; | 505 | struct inode *inode; |
506 | int error = -ENOSPC; | 506 | int error = -ENOSPC; |