summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-07-24 10:53:39 -0400
committerChuck Lever <chuck.lever@oracle.com>2023-08-29 17:45:22 -0400
commitf2b7019d2e3c4f1f55be658659804b337dcfac60 (patch)
tree66c3f791fbcaba16c31a1f5673ffb2641148ecd8 /fs/lockd
parent976626073a7502fc91416155bd037a29deee729b (diff)
downloadlinux-stable-f2b7019d2e3c4f1f55be658659804b337dcfac60.tar.gz
linux-stable-f2b7019d2e3c4f1f55be658659804b337dcfac60.tar.bz2
linux-stable-f2b7019d2e3c4f1f55be658659804b337dcfac60.zip
nfsd: set missing after_change as before_change + 1
In the event that we can't fetch post_op_attr attributes, we still need to set a value for the after_change. The operation has already happened, so we're not able to return an error at that point, but we do want to ensure that the client knows that its cache should be invalidated. If we weren't able to fetch post-op attrs, then just set the after_change to before_change + 1. The atomic flag should already be clear in this case. Suggested-by: Neil Brown <neilb@suse.de> Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions