Skip to content

Commit

Permalink
switch may_mknod() to umode_t
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent 649fc7b commit f69aac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f69aac0

Please sign in to comment.