Skip to content

Commit

Permalink
should_remove_suid(): inode->i_mode is umode_t
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent 52ef0c0 commit 649fc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/filemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 649fc7b

Please sign in to comment.