projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/fs/namei.c
b/fs/namei.c
index 85bb44f222c94b933a78d9de53cb9116c2b84500..e275dc36d7c50ca54c7afcedc451262ed5dbe45d 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: