switch may_mknod() to umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2011-07-26 04:31:40 -04:00
parent 649fc7b1b0
commit f69aac0006

View file

@ -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: