commit | f69aac0006c303a98da9d2db04b71fd1c600d503 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 26 04:31:40 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 03 22:55:14 2012 -0500 |
tree | 4771957c3c6b661611cdc2548ee967011ace6b8b | |
parent | 649fc7b1b046eb98bf9e3fe20c9d11f629293140 [diff] [blame] |
switch may_mknod() to umode_t Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/namei.c b/fs/namei.c index 85bb44f..e275dc3 100644 --- a/fs/namei.c +++ b/fs/namei.c
@@ -2472,7 +2472,7 @@ return error; } -static int may_mknod(mode_t mode) +static int may_mknod(umode_t mode) { switch (mode & S_IFMT) { case S_IFREG: