projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
649fc7b
)
switch may_mknod() to umode_t
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 08:31:40 +0000
(
04:31
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:55:14 +0000
(22:55 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
patch
|
blob
|
history
diff --git
a/fs/namei.c
b/fs/namei.c
index
85bb44f
..
e275dc3
100644
(file)
--- 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(
u
mode_t mode)
{
switch (mode & S_IFMT) {
case S_IFREG: