History

SUNRPC: Rename svc_create_xprt()

Clean up: Use the "svc_xprt_<task>" function naming convention as is used for other external APIs.

Chuck Lever committed 4 years ago

Commit 352ad311 parent 87cdd866 files · +39 −24Browse files

Showing the changes to include (1 of 6 files). Show all

Unified · Split

include/linux/sunrpc/svc_xprt.h+4−3
@@ -127,9 +127,10 @@ int svc_reg_xprt_class(struct svc_xprt_class *); · 126 unmodified lines
127127 void svc_unreg_xprt_class(struct svc_xprt_class *);
128128 void svc_xprt_init(struct net *, struct svc_xprt_class *, struct svc_xprt *,
129129 struct svc_serv *);
130−int svc_create_xprt(struct svc_serv *, const char *, struct net *,
131− const int, const unsigned short, int,
132− const struct cred *);
130+int svc_xprt_create(struct svc_serv *serv, const char *xprt_name,
131+ struct net *net, const int family,
132+ const unsigned short port, int flags,
133+ const struct cred *cred);
133134 void svc_xprt_received(struct svc_xprt *xprt);
134135 void svc_xprt_enqueue(struct svc_xprt *xprt);
135136 void svc_xprt_put(struct svc_xprt *xprt);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t