summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorAl Viro2011-07-26 10:31:05 +0200
committerAl Viro2012-01-04 04:55:14 +0100
commit649fc7b1b046eb98bf9e3fe20c9d11f629293140 (patch)
tree3e80a456d1921766e004e5100783ecbaff3cee57 /mm/filemap.c
parentswitch securityfs_create_file() to umode_t (diff)
downloadkernel-qcow2-linux-649fc7b1b046eb98bf9e3fe20c9d11f629293140.tar.gz
kernel-qcow2-linux-649fc7b1b046eb98bf9e3fe20c9d11f629293140.tar.xz
kernel-qcow2-linux-649fc7b1b046eb98bf9e3fe20c9d11f629293140.zip
should_remove_suid(): inode->i_mode is umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 5f0a3c91fdac..a0701e6eec10 100644
--- 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;
+ umode_t mode = dentry->d_inode->i_mode;
int kill = 0;
/* suid always must be killed */