aboutsummaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 04:31:40 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:55:14 -0500
commitf69aac0006c303a98da9d2db04b71fd1c600d503 (patch)
tree4771957c3c6b661611cdc2548ee967011ace6b8b /fs/namei.c
parent649fc7b1b046eb98bf9e3fe20c9d11f629293140 (diff)
switch may_mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 85bb44f222c..e275dc36d7c 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2472,7 +2472,7 @@ int vfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
return error;
}
-static int may_mknod(mode_t mode)
+static int may_mknod(umode_t mode)
{
switch (mode & S_IFMT) {
case S_IFREG: