NFS: Separate tracking of file mode cache validity from the uid/gid
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 13 Apr 2021 13:41:16 +0000 (09:41 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 13 Apr 2021 13:41:16 +0000 (09:41 -0400)
commit720869eb19f3161980d6d4631d3df7e8c5355993
tree80976633eab2643d26ed42a547e45e75fb049783
parentfabf2b341502e894001d70f91309dd6f3785e2dc
NFS: Separate tracking of file mode cache validity from the uid/gid

chown()/chgrp() and chmod() are separate operations, and in addition,
there are mode operations that are performed automatically by the
server. So let's track mode validity separately from the file ownership
validity.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c
fs/nfs/inode.c
fs/nfs/nfs4proc.c
fs/nfs/nfstrace.h
fs/nfs/write.c
include/linux/nfs_fs.h