should_remove_suid(): inode->i_mode is umode_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2011-07-26 04:31:05 -04:00
parent 52ef0c042b
commit 649fc7b1b0

View File

@ -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 */