author | Trond Myklebust <trond.myklebust@primarydata.com> | |
Sat, 27 Sep 2014 21:41:51 +0000 (17:41 -0400) | ||
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
Thu, 30 Oct 2014 16:35:11 +0000 (09:35 -0700) | ||
commit | bb7105c3d5b128542239f2eff1e399e26959bcc7 | |
tree | e094a2703f447e49d7cb7489606ee67951c73a6b | tree | snapshot (tar.xz tar.gz zip) |
parent | 60eefed4786cbefa0f4d206dfcd7e3c87c992ded | commit | diff |
NFSv4: fix open/lock state recovery error handling
commit df817ba35736db2d62b07de6f050a4db53492ad8 upstream.
The current open/lock state recovery unfortunately does not handle errors
such as NFS4ERR_CONN_NOT_BOUND_TO_SESSION correctly. Instead of looping,
just proceeds as if the state manager is finished recovering.
This patch ensures that we loop back, handle higher priority errors
and complete the open/lock state recovery.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit df817ba35736db2d62b07de6f050a4db53492ad8 upstream.
The current open/lock state recovery unfortunately does not handle errors
such as NFS4ERR_CONN_NOT_BOUND_TO_SESSION correctly. Instead of looping,
just proceeds as if the state manager is finished recovering.
This patch ensures that we loop back, handle higher priority errors
and complete the open/lock state recovery.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4state.c | diff | blob | history |