nfsd: lift NFSv4.0 handling out of nfsd4_cb_sequence_done()
authorJeff Layton <jlayton@kernel.org>
Sun, 9 Feb 2025 12:31:23 +0000 (07:31 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 10 Mar 2025 13:11:01 +0000 (09:11 -0400)
commit6c1cefb84b3dee08e94b6908617f23f3fcc045e9
tree7b9abf37d4b80fca04a019e5cedb0bf54bb4878b
parent1c2d0957dc66620338eba63e0267122b6e2175cc
nfsd: lift NFSv4.0 handling out of nfsd4_cb_sequence_done()

It's a bit strange to call nfsd4_cb_sequence_done() on a callback with no
CB_SEQUENCE. Lift the handling of restarting a call into a new helper,
and move the handling of NFSv4.0 into nfsd4_cb_done().

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