]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
SUNRPC: Move the svc_rpcb_cleanup() call sites
authorChuck Lever <chuck.lever@oracle.com>
Wed, 20 Aug 2025 14:27:28 +0000 (10:27 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 21 Sep 2025 23:24:50 +0000 (19:24 -0400)
commitd73d06dac604043b94a5f18ebb6a69da1b867702
tree28b62e7c6e64c6749fb9d4c75fc7e9de63e20de4
parentdd9adfa0da2b0dac4c0abdae4bdb88c366bd83d5
SUNRPC: Move the svc_rpcb_cleanup() call sites

Clean up: because svc_rpcb_cleanup() and svc_xprt_destroy_all()
are always invoked in pairs, we can deduplicate code by moving
the svc_rpcb_cleanup() call sites into svc_xprt_destroy_all().

Tested-by: Olga Kornievskaia <okorniev@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/lockd/svc.c
fs/nfs/callback.c
fs/nfsd/nfsctl.c
fs/nfsd/nfssvc.c
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svc.c
net/sunrpc/svc_xprt.c