diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 04:31:40 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:14 -0500 |
commit | f69aac0006c303a98da9d2db04b71fd1c600d503 (patch) | |
tree | 4771957c3c6b661611cdc2548ee967011ace6b8b /fs/namei.c | |
parent | 649fc7b1b046eb98bf9e3fe20c9d11f629293140 (diff) | |
download | lwn-f69aac0006c303a98da9d2db04b71fd1c600d503.tar.gz lwn-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: |