]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: nfs_setattr_update_inode() should clear the suid/sgid bits
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 13 Apr 2021 00:08:00 +0000 (20:08 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 13 Apr 2021 00:11:44 +0000 (20:11 -0400)
commitfcbf963e87ef73c4de6dbade9f7454de0232d3f0
tree56e597c4a4b92d18c60a37991bbf95371bae2f9f
parent104ff5a44d0b308789f78e658f3d2afc31793f55
NFS: nfs_setattr_update_inode() should clear the suid/sgid bits

When we do a 'chown' or 'chgrp', the server will clear the suid/sgid
bits. Ensure that we mirror that in nfs_setattr_update_inode().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/inode.c