projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/mm/filemap.c
b/mm/filemap.c
index 5f0a3c91fdac043437392bbe141b45c30cdcf66e..a0701e6eec107ae5247f41885e62a73efb4b4bdc 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 */