]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Filter cache invalidation when holding a delegation
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 3 Jun 2018 17:05:21 +0000 (13:05 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Jun 2018 19:03:58 +0000 (15:03 -0400)
commitb6af6acb74dfa0ce9e70fd2e0103325d2ba9f2c0
treebaa85d9d600d133ff43efb69fa6a568951b3534b
parent56691be3afcbab06386282fbc42278bdde418601
NFS: Filter cache invalidation when holding a delegation

If the client holds a delegation, then ensure we filter out attempts
to invalidate the size, owner, group owner, or mode unless we made the
change, in which case, check that NFS_INO_REVAL_FORCED is set by the
caller.
Always filter out attempts to invalidate the change attribute and
size, since we are authoritative for those.

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