aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
1968 */ 1968 */
1969int should_remove_suid(struct dentry *dentry) 1969int should_remove_suid(struct dentry *dentry)
1970{ 1970{
1971 mode_t mode = dentry->d_inode->i_mode; 1971 umode_t mode = dentry->d_inode->i_mode;
1972 int kill = 0; 1972 int kill = 0;
1973 1973
1974 /* suid always must be killed */ 1974 /* suid always must be killed */