commit | 649fc7b1b046eb98bf9e3fe20c9d11f629293140 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 26 04:31:05 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jan 03 22:55:14 2012 -0500 |
tree | 3e80a456d1921766e004e5100783ecbaff3cee57 | |
parent | 52ef0c042bf06f6aef382fade175075627beebc1 [diff] [blame] |
should_remove_suid(): inode->i_mode is umode_t Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/mm/filemap.c b/mm/filemap.c index 5f0a3c9..a0701e6 100644 --- a/mm/filemap.c +++ b/mm/filemap.c
@@ -1968,7 +1968,7 @@ */ 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 */