diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-01-26 19:30:55 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-02-28 18:26:40 +0300 |
commit | c7d7ec8f043e53ad16e30f5ebb8b9df415ec0f2b (patch) | |
tree | b55d377439e0c5fb3e5eb9cfc7328e76f12570d9 /include/linux/sunrpc/svc_xprt.h | |
parent | 4355d767a21b9445958fc11bce9a9701f76529d3 (diff) | |
download | linux-c7d7ec8f043e53ad16e30f5ebb8b9df415ec0f2b.tar.xz |
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 'include/linux/sunrpc/svc_xprt.h')
-rw-r--r-- | include/linux/sunrpc/svc_xprt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h index bf7d029fb48c..42e113742429 100644 --- a/include/linux/sunrpc/svc_xprt.h +++ b/include/linux/sunrpc/svc_xprt.h @@ -131,6 +131,7 @@ int svc_xprt_create(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred); +void svc_xprt_destroy_all(struct svc_serv *serv, struct net *net); void svc_xprt_received(struct svc_xprt *xprt); void svc_xprt_enqueue(struct svc_xprt *xprt); void svc_xprt_put(struct svc_xprt *xprt); |