aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/svc_xprt.h2
-rw-r--r--include/linux/sunrpc/svcsock.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h
index 4042cdfec4fe..0a3e09b42a83 100644
--- a/include/linux/sunrpc/svc_xprt.h
+++ b/include/linux/sunrpc/svc_xprt.h
@@ -36,6 +36,8 @@ struct svc_xprt {
36 struct svc_xprt_class *xpt_class; 36 struct svc_xprt_class *xpt_class;
37 struct svc_xprt_ops *xpt_ops; 37 struct svc_xprt_ops *xpt_ops;
38 struct kref xpt_ref; 38 struct kref xpt_ref;
39 struct list_head xpt_list;
40 struct list_head xpt_ready;
39 unsigned long xpt_flags; 41 unsigned long xpt_flags;
40#define XPT_BUSY 0 /* enqueued/receiving */ 42#define XPT_BUSY 0 /* enqueued/receiving */
41#define XPT_CONN 1 /* conn pending */ 43#define XPT_CONN 1 /* conn pending */
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h
index 92d4cc99c60d..060508ba358b 100644
--- a/include/linux/sunrpc/svcsock.h
+++ b/include/linux/sunrpc/svcsock.h
@@ -17,8 +17,6 @@
17 */ 17 */
18struct svc_sock { 18struct svc_sock {
19 struct svc_xprt sk_xprt; 19 struct svc_xprt sk_xprt;
20 struct list_head sk_ready; /* list of ready sockets */
21 struct list_head sk_list; /* list of all sockets */
22 struct socket * sk_sock; /* berkeley socket layer */ 20 struct socket * sk_sock; /* berkeley socket layer */
23 struct sock * sk_sk; /* INET layer */ 21 struct sock * sk_sk; /* INET layer */
24 22
@@ -51,7 +49,7 @@ struct svc_sock {
51/* 49/*
52 * Function prototypes. 50 * Function prototypes.
53 */ 51 */
54void svc_force_close_socket(struct svc_sock *); 52void svc_close_all(struct list_head *);
55int svc_recv(struct svc_rqst *, long); 53int svc_recv(struct svc_rqst *, long);
56int svc_send(struct svc_rqst *); 54int svc_send(struct svc_rqst *);
57void svc_drop(struct svc_rqst *); 55void svc_drop(struct svc_rqst *);