mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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
@ -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 New Issue
Block a user