diff options
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/inode.c b/fs/inode.c index ea37cd17b53f..6e342cadef81 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -1693,8 +1693,8 @@ int file_remove_suid(struct file *file) | |||
1693 | error = security_inode_killpriv(dentry); | 1693 | error = security_inode_killpriv(dentry); |
1694 | if (!error && killsuid) | 1694 | if (!error && killsuid) |
1695 | error = __remove_suid(dentry, killsuid); | 1695 | error = __remove_suid(dentry, killsuid); |
1696 | if (!error && (inode->i_sb->s_flags & MS_NOSEC)) | 1696 | if (!error) |
1697 | inode->i_flags |= S_NOSEC; | 1697 | inode_has_no_xattr(inode); |
1698 | 1698 | ||
1699 | return error; | 1699 | return error; |
1700 | } | 1700 | } |