Commit f69aac00 authored by Al Viro's avatar Al Viro

switch may_mknod() to umode_t

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 649fc7b1
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment