projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ef0c0
)
should_remove_suid(): inode->i_mode is umode_t
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 08:31:05 +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>
mm/filemap.c
patch
|
blob
|
history
diff --git
a/mm/filemap.c
b/mm/filemap.c
index
5f0a3c9
..
a0701e6
100644
(file)
--- a/
mm/filemap.c
+++ b/
mm/filemap.c
@@
-1968,7
+1968,7
@@
EXPORT_SYMBOL(read_cache_page);
*/
int should_remove_suid(struct dentry *dentry)
{
- mode_t mode = dentry->d_inode->i_mode;
+
u
mode_t mode = dentry->d_inode->i_mode;
int kill = 0;
/* suid always must be killed */