From: Al Viro Date: Tue, 26 Jul 2011 08:31:05 +0000 (-0400) Subject: should_remove_suid(): inode->i_mode is umode_t X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=649fc7b1b046eb98bf9e3fe20c9d11f629293140;p=linux-beck.git should_remove_suid(): inode->i_mode is umode_t Signed-off-by: Al Viro --- 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 */