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

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

NFSv4.1 reclaim complete must wait for completion



Signed-off-by: default avatarAndy Adamson <andros@netapp.com>
[Trond: fix whitespace errors]
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 114f64b5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5359,6 +5359,9 @@ static int nfs41_proc_reclaim_complete(struct nfs_client *clp)
		status = PTR_ERR(task);
		goto out;
	}
	status = nfs4_wait_for_completion_rpc_task(task);
	if (status == 0)
		status = task->tk_status;
	rpc_put_task(task);
	return 0;
out: