提交 f69aac00 编写于 作者: A Al Viro

switch may_mknod() to umode_t

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 649fc7b1
...@@ -2472,7 +2472,7 @@ int vfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) ...@@ -2472,7 +2472,7 @@ int vfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
return error; return error;
} }
static int may_mknod(mode_t mode) static int may_mknod(umode_t mode)
{ {
switch (mode & S_IFMT) { switch (mode & S_IFMT) {
case S_IFREG: case S_IFREG:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册