diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2006-12-05 16:35:34 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-06 10:46:51 -0500 |
commit | 314dfd7987c71d7ba0c43ac3bf3d243c102ce025 (patch) | |
tree | dc1007a39bf4473afc6f3b6fda95c62207d5f4db /include/linux | |
parent | 7c6e066ec29290bf062f5bff2984bad9be5809c7 (diff) |
SUNRPC: move saved socket callback functions to a private data structure
Move the three fields for saving socket callback functions out of the
rpc_xprt structure and into a private data structure maintained in
net/sunrpc/xprtsock.c.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/sunrpc/xprt.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 21beb56fb84c..17f322794e91 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h | |||
@@ -17,8 +17,6 @@ | |||
17 | #include <linux/sunrpc/xdr.h> | 17 | #include <linux/sunrpc/xdr.h> |
18 | #include <linux/sunrpc/msg_prot.h> | 18 | #include <linux/sunrpc/msg_prot.h> |
19 | 19 | ||
20 | #include <net/sock.h> | ||
21 | |||
22 | extern unsigned int xprt_udp_slot_table_entries; | 20 | extern unsigned int xprt_udp_slot_table_entries; |
23 | extern unsigned int xprt_tcp_slot_table_entries; | 21 | extern unsigned int xprt_tcp_slot_table_entries; |
24 | 22 | ||
@@ -191,10 +189,6 @@ struct rpc_xprt { | |||
191 | bklog_u; /* backlog queue utilization */ | 189 | bklog_u; /* backlog queue utilization */ |
192 | } stat; | 190 | } stat; |
193 | 191 | ||
194 | void (*old_data_ready)(struct sock *, int); | ||
195 | void (*old_state_change)(struct sock *); | ||
196 | void (*old_write_space)(struct sock *); | ||
197 | |||
198 | char * address_strings[RPC_DISPLAY_MAX]; | 192 | char * address_strings[RPC_DISPLAY_MAX]; |
199 | }; | 193 | }; |
200 | 194 | ||