Skip to content
Snippets Groups Projects
Commit 649fc7b1 authored by Al Viro's avatar Al Viro
Browse files

should_remove_suid(): inode->i_mode is umode_t


Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 52ef0c04
No related branches found
No related tags found
No related merge requests found
...@@ -1968,7 +1968,7 @@ EXPORT_SYMBOL(read_cache_page); ...@@ -1968,7 +1968,7 @@ EXPORT_SYMBOL(read_cache_page);
*/ */
int should_remove_suid(struct dentry *dentry) 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; int kill = 0;
/* suid always must be killed */ /* suid always must be killed */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment