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

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

nfs41: don't clear tk_action on success

parent 8ba9bf8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -534,7 +534,7 @@ int nfs4_setup_sequence(struct nfs_client *clp,
		goto out;
		goto out;
	ret = nfs41_setup_sequence(clp->cl_session, args, res, cache_reply,
	ret = nfs41_setup_sequence(clp->cl_session, args, res, cache_reply,
				   task);
				   task);
	if (ret != -EAGAIN) {
	if (ret && ret != -EAGAIN) {
		/* terminate rpc task */
		/* terminate rpc task */
		task->tk_status = ret;
		task->tk_status = ret;
		task->tk_action = NULL;
		task->tk_action = NULL;