Trond Myklebust f6bcbd5569 NFSv4: Fix hangs when recovering open state after a server reboot
commit 6165a16a5ad9b237bb3131cff4d3c601ccb8f9a3 upstream.

When we're using a cached open stateid or a delegation in order to avoid
sending a CLAIM_PREVIOUS open RPC call to the server, we don't have a
new open stateid to present to update_open_stateid().
Instead rely on nfs4_try_open_cached(), just as if we were doing a
normal open.

Fixes: d2bfda2e7aa0 ("NFSv4: don't reprocess cached open CLAIM_PREVIOUS")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-06 12:10:54 +02:00
..
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2022-08-10 14:04:32 -07:00
2022-10-13 09:58:42 -07:00
2022-05-09 23:12:33 -04:00
2022-10-13 09:58:42 -07:00
2021-04-05 09:04:20 -04:00
2015-04-23 15:16:14 -04:00
2022-10-13 09:58:42 -07:00
2022-05-09 16:36:48 -04:00
2022-09-12 17:53:46 -04:00