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

Commit b15c7cdd authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4.1: nfs41_sequence_done should handle sequence flag errors



Instead of just kicking off lease recovery, we should look into the
sequence flag errors and handle them.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent b1352905
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -616,8 +616,7 @@ int nfs41_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res)
		clp = session->clp;
		do_renew_lease(clp, res->sr_timestamp);
		/* Check sequence flags */
		if (res->sr_status_flags != 0)
			nfs4_schedule_lease_recovery(clp);
		nfs41_handle_sequence_flag_errors(clp, res->sr_status_flags);
		nfs41_update_target_slotid(slot->table, slot, res);
		break;
	case 1: