diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/svc.h | 2 | ||||
-rw-r--r-- | include/linux/sunrpc/svc_xprt.h | 2 | ||||
-rw-r--r-- | include/linux/sunrpc/svcsock.h | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index cfb2652f6f8f..40adc9d75a6d 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h | |||
@@ -320,7 +320,7 @@ static inline void svc_free_res_pages(struct svc_rqst *rqstp) | |||
320 | 320 | ||
321 | struct svc_deferred_req { | 321 | struct svc_deferred_req { |
322 | u32 prot; /* protocol (UDP or TCP) */ | 322 | u32 prot; /* protocol (UDP or TCP) */ |
323 | struct svc_sock *svsk; | 323 | struct svc_xprt *xprt; |
324 | struct sockaddr_storage addr; /* where reply must go */ | 324 | struct sockaddr_storage addr; /* where reply must go */ |
325 | size_t addrlen; | 325 | size_t addrlen; |
326 | union svc_addr_u daddr; /* where reply must come from */ | 326 | union svc_addr_u daddr; /* where reply must come from */ |
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h index 1b5da39bb461..6a8445b9dfd9 100644 --- a/include/linux/sunrpc/svc_xprt.h +++ b/include/linux/sunrpc/svc_xprt.h | |||
@@ -59,6 +59,8 @@ struct svc_xprt { | |||
59 | spinlock_t xpt_lock; /* protects sk_deferred | 59 | spinlock_t xpt_lock; /* protects sk_deferred |
60 | * and xpt_auth_cache */ | 60 | * and xpt_auth_cache */ |
61 | void *xpt_auth_cache;/* auth cache */ | 61 | void *xpt_auth_cache;/* auth cache */ |
62 | struct list_head xpt_deferred; /* deferred requests that need | ||
63 | * to be revisted */ | ||
62 | }; | 64 | }; |
63 | 65 | ||
64 | int svc_reg_xprt_class(struct svc_xprt_class *); | 66 | int svc_reg_xprt_class(struct svc_xprt_class *); |
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h index f2ed6a25a7aa..96a229e6b9c9 100644 --- a/include/linux/sunrpc/svcsock.h +++ b/include/linux/sunrpc/svcsock.h | |||
@@ -20,9 +20,6 @@ struct svc_sock { | |||
20 | struct socket * sk_sock; /* berkeley socket layer */ | 20 | struct socket * sk_sock; /* berkeley socket layer */ |
21 | struct sock * sk_sk; /* INET layer */ | 21 | struct sock * sk_sk; /* INET layer */ |
22 | 22 | ||
23 | struct list_head sk_deferred; /* deferred requests that need to | ||
24 | * be revisted */ | ||
25 | |||
26 | /* We keep the old state_change and data_ready CB's here */ | 23 | /* We keep the old state_change and data_ready CB's here */ |
27 | void (*sk_ostate)(struct sock *); | 24 | void (*sk_ostate)(struct sock *); |
28 | void (*sk_odata)(struct sock *, int bytes); | 25 | void (*sk_odata)(struct sock *, int bytes); |