Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9179237 authored by Andy Adamson's avatar Andy Adamson Committed by Trond Myklebust
Browse files

nfs41: fix switch in nfs4_handle_exception



Do not fall through and call nfs4_delay on session error handling.

Signed-off-by: default avatarAndy Adamson <andros@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 36bbe342
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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) {