summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2022-09-08 05:08:40 +0300
committerChuck Lever <chuck.lever@oracle.com>2022-09-09 00:53:24 +0300
commit00801cd92d91e94aa04d687f9bb9a9104e7c3d46 (patch)
tree0d770e2196921ec19993da366fcb3309fb492c32 /tools/perf/scripts/python/export-to-postgresql.py
parent6930bcbfb6ceda63e298c6af6d733ecdf6bd4cde (diff)
downloadlinux-00801cd92d91e94aa04d687f9bb9a9104e7c3d46.tar.xz
NFSD: fix regression with setting ACLs.
A recent patch moved ACL setting into nfsd_setattr(). Unfortunately it didn't work as nfsd_setattr() aborts early if iap->ia_valid is 0. Remove this test, and instead avoid calling notify_change() when ia_valid is 0. This means that nfsd_setattr() will now *always* lock the inode. Previously it didn't if only a ATTR_MODE change was requested on a symlink (see Commit 15b7a1b86d66 ("[PATCH] knfsd: fix setattr-on-symlink error return")). I don't think this change really matters. Fixes: c0cbe70742f4 ("NFSD: add posix ACLs to struct nfsd_attrs") Signed-off-by: NeilBrown <neilb@suse.de> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions