diff options
author | 2022-01-26 11:42:08 -0500 | |
---|---|---|
committer | 2022-02-28 10:26:39 -0500 | |
commit | 352ad31448fecc78a2e9b78da64eea5d63b8d0ce (patch) | |
tree | 593de3434d8bdb6e44b4ad8e9fd53ebf66cf8e7b /include/linux/sunrpc | |
parent | SUNRPC: Remove svo_shutdown method (diff) | |
download | linux-352ad31448fecc78a2e9b78da64eea5d63b8d0ce.tar.gz linux-352ad31448fecc78a2e9b78da64eea5d63b8d0ce.tar.bz2 linux-352ad31448fecc78a2e9b78da64eea5d63b8d0ce.zip |
SUNRPC: Rename svc_create_xprt()
Clean up: Use the "svc_xprt_<task>" function naming convention as
is used for other external APIs.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/svc_xprt.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h index a3ba027fb4ba..a7f6f17c3dc5 100644 --- a/include/linux/sunrpc/svc_xprt.h +++ b/include/linux/sunrpc/svc_xprt.h @@ -127,9 +127,10 @@ int svc_reg_xprt_class(struct svc_xprt_class *); void svc_unreg_xprt_class(struct svc_xprt_class *); void svc_xprt_init(struct net *, struct svc_xprt_class *, struct svc_xprt *, struct svc_serv *); -int svc_create_xprt(struct svc_serv *, const char *, struct net *, - const int, const unsigned short, int, - const struct cred *); +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_received(struct svc_xprt *xprt); void svc_xprt_enqueue(struct svc_xprt *xprt); void svc_xprt_put(struct svc_xprt *xprt); |