diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 10:31:40 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:55:14 +0100 |
commit | f69aac0006c303a98da9d2db04b71fd1c600d503 (patch) | |
tree | 4771957c3c6b661611cdc2548ee967011ace6b8b /fs/namei.c | |
parent | should_remove_suid(): inode->i_mode is umode_t (diff) | |
download | linux-f69aac0006c303a98da9d2db04b71fd1c600d503.tar.xz linux-f69aac0006c303a98da9d2db04b71fd1c600d503.zip |
switch may_mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index 85bb44f222c9..e275dc36d7c5 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -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: |