]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nfsd: prepare nfsd4_cb_sequence_done() for error handling rework
authorJeff Layton <jlayton@kernel.org>
Sun, 9 Feb 2025 12:31:22 +0000 (07:31 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 10 Mar 2025 13:11:01 +0000 (09:11 -0400)
commit1c2d0957dc66620338eba63e0267122b6e2175cc
tree76e48449ea4f47103f4b541c95b1d6459ead9c3f
parent230ca758453c63bd38e4d9f4a21db698f7abada8
nfsd: prepare nfsd4_cb_sequence_done() for error handling rework

There is only one case where we want to proceed with processing the rest
of the CB_COMPOUND, and that's when the cb_seq_status is 0. Make the
default return value be false, and only set it to true in that case.

Rename the "need_restart" label to "requeue", to better indicate that
it's being requeued to the workqueue.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4callback.c