summaryrefslogtreecommitdiff
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-06-25 15:49:31 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-06-26 12:13:39 -0400
commit20cf7d4ea4ad7d9830b01ff7444f6ac64a727a23 (patch)
tree527ed8c84389c0d3d92c03a9256024b1f5f3919b /fs/nfs/inode.c
parent213bb58475b57786e4336bc8bfd5029e16257c49 (diff)
NFSv4: Fix handling of non-atomic change attrbute updates
If the change attribute update is declared to be non-atomic by the server, or our cached value does not match the server's value before the operation was performed, then we should declare the inode cache invalid. On the other hand, if the change to the directory raced with a lookup or getattr which already updated the change attribute, then optimise away the revalidation. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions