commit | 44f411c353bf6d98d5a34f8f1b8605d43b2e50b8 | [log] [tgz] |
---|---|---|
author | Olga Kornievskaia <kolga@netapp.com> | Thu Oct 04 14:45:00 2018 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Fri Oct 05 09:34:36 2018 -0400 |
tree | 6e6d91e3889f499a038e9ad46716cccd9eeb49b3 | |
parent | 21924765862a0871908a35cb0e53e2e1c169b888 [diff] |
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>