switch may_mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
649fc7b1b0
commit
f69aac0006
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue