mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
nfs41: fix switch in nfs4_handle_exception
Do not fall through and call nfs4_delay on session error handling. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
36bbe34239
commit
b9179237e2
@ -272,7 +272,7 @@ static int nfs4_handle_exception(const struct nfs_server *server, int errorcode,
|
|||||||
errorcode);
|
errorcode);
|
||||||
set_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state);
|
set_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state);
|
||||||
exception->retry = 1;
|
exception->retry = 1;
|
||||||
/* FALLTHROUGH */
|
break;
|
||||||
#endif /* !defined(CONFIG_NFS_V4_1) */
|
#endif /* !defined(CONFIG_NFS_V4_1) */
|
||||||
case -NFS4ERR_FILE_OPEN:
|
case -NFS4ERR_FILE_OPEN:
|
||||||
if (exception->timeout > HZ) {
|
if (exception->timeout > HZ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user