summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2018-10-04 14:45:00 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-25 09:53:35 +0100
commit7b98c74da2faf6ed5831d85e8a39ce7e2875201f (patch)
tree9eb12eebec82fc2b8be24fe16758270215ba7dca /crypto
parentda2397dfb2e0abcaf811bdd701d6fd02e6e95dc1 (diff)
NFSv4.x: fix lock recovery during delegation recall
[ Upstream commit 44f411c353bf6d98d5a34f8f1b8605d43b2e50b8 ] Running "./nfstest_delegation --runtest recall26" uncovers that client doesn't recover the lock when we have an appending open, where the initial open got a write delegation. Instead of checking for the passed in open context against the file lock's open context. Check that the state is the same. Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions