Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NFSv4.x: fix lock recovery during delegation recall
commit 44f411c upstream. 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 <[email protected]> Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Joseph Qi <[email protected]> Acked-by: Caspar Zhang <[email protected]>
- Loading branch information