summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2018-10-04 21:45:00 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-10-05 16:34:36 +0300
commit44f411c353bf6d98d5a34f8f1b8605d43b2e50b8 (patch)
tree6e6d91e3889f499a038e9ad46716cccd9eeb49b3 /net/sunrpc
parent21924765862a0871908a35cb0e53e2e1c169b888 (diff)
downloadlinux-44f411c353bf6d98d5a34f8f1b8605d43b2e50b8.tar.xz
NFSv4.x: fix lock recovery during delegation recall
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>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions