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

Commit 9ee1ba54 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: initialize cb_per_client



Otherwise a callback that is aborted before it runs will result in a
list_del on an uninitialized list head.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 5ce8ba25
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -866,6 +866,7 @@ void nfsd4_cb_recall(struct nfs4_delegation *dp)
	cb->cb_ops = &nfsd4_cb_recall_ops;
	dp->dl_retries = 1;

	INIT_LIST_HEAD(&cb->cb_per_client);
	cb->cb_done = true;

	run_nfsd4_cb(&dp->dl_recall);