summaryrefslogtreecommitdiffstats
path: root/lib/ucmpdi2.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 /lib/ucmpdi2.c
parent213bb58475b57786e4336bc8bfd5029e16257c49 (diff)
downloadlinux-stable-20cf7d4ea4ad7d9830b01ff7444f6ac64a727a23.tar.gz
linux-stable-20cf7d4ea4ad7d9830b01ff7444f6ac64a727a23.tar.bz2
linux-stable-20cf7d4ea4ad7d9830b01ff7444f6ac64a727a23.zip
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 'lib/ucmpdi2.c')
0 files changed, 0 insertions, 0 deletions