Commit 6165a16
NFSv4: Fix hangs when recovering open state after a server reboot
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: d2bfda2 ("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>1 parent 21fd9e8 commit 6165a16
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1980 | 1980 | | |
1981 | 1981 | | |
1982 | 1982 | | |
1983 | | - | |
1984 | | - | |
| 1983 | + | |
1985 | 1984 | | |
1986 | 1985 | | |
1987 | 1986 | | |
| |||
1990 | 1989 | | |
1991 | 1990 | | |
1992 | 1991 | | |
1993 | | - | |
| 1992 | + | |
1994 | 1993 | | |
1995 | 1994 | | |
1996 | 1995 | | |
| |||
0 commit comments