提交 649fc7b1 编写于 作者: A Al Viro

should_remove_suid(): inode->i_mode is umode_t

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 52ef0c04
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册