diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2018-10-04 14:45:00 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-10-05 09:34:36 -0400 |
commit | 44f411c353bf6d98d5a34f8f1b8605d43b2e50b8 (patch) | |
tree | 6e6d91e3889f499a038e9ad46716cccd9eeb49b3 /net/sunrpc | |
parent | 21924765862a0871908a35cb0e53e2e1c169b888 (diff) | |
download | linux-stable-44f411c353bf6d98d5a34f8f1b8605d43b2e50b8.tar.gz linux-stable-44f411c353bf6d98d5a34f8f1b8605d43b2e50b8.tar.bz2 linux-stable-44f411c353bf6d98d5a34f8f1b8605d43b2e50b8.zip |
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