Olga Kornievskaia f3ec478991 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>
2019-11-25 15:54:43 +01:00
..
2016-12-02 09:09:01 +01:00
2017-12-16 10:33:55 +01:00
2015-04-23 15:16:14 -04:00
2015-02-03 11:06:34 -08:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2015-10-15 16:07:36 -04:00
2015-10-15 16:07:21 -04:00
2015-08-20 13:43:53 -05:00
2015-09-23 08:55:32 -04:00
2019-09-21 07:12:51 +02:00