diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-01-26 11:30:55 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-02-28 10:26:40 -0500 |
commit | c7d7ec8f043e53ad16e30f5ebb8b9df415ec0f2b (patch) | |
tree | b55d377439e0c5fb3e5eb9cfc7328e76f12570d9 /fs/nfs | |
parent | 4355d767a21b9445958fc11bce9a9701f76529d3 (diff) | |
download | linux-c7d7ec8f043e53ad16e30f5ebb8b9df415ec0f2b.tar.bz2 |
SUNRPC: Remove svc_shutdown_net()
Clean up: svc_shutdown_net() now does nothing but call
svc_close_net(). Replace all external call sites.
svc_close_net() is renamed to be the inverse of svc_xprt_create().
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c index c1a8767100ae..c98c68513590 100644 --- a/fs/nfs/callback.c +++ b/fs/nfs/callback.c @@ -189,7 +189,7 @@ static void nfs_callback_down_net(u32 minorversion, struct svc_serv *serv, struc return; dprintk("NFS: destroy per-net callback data; net=%x\n", net->ns.inum); - svc_shutdown_net(serv, net); + svc_xprt_destroy_all(serv, net); } static int nfs_callback_up_net(int minorversion, struct svc_serv *serv, |