diff options
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/clnt.h | 2 | ||||
-rw-r--r-- | include/linux/sunrpc/xprt.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index b6810c92b8bb..5c02b0691587 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h | |||
@@ -195,6 +195,8 @@ int rpc_clnt_add_xprt(struct rpc_clnt *, struct xprt_create *, | |||
195 | struct rpc_xprt *, | 195 | struct rpc_xprt *, |
196 | void *), | 196 | void *), |
197 | void *data); | 197 | void *data); |
198 | void rpc_cap_max_reconnect_timeout(struct rpc_clnt *clnt, | ||
199 | unsigned long timeo); | ||
198 | 200 | ||
199 | const char *rpc_proc_name(const struct rpc_task *task); | 201 | const char *rpc_proc_name(const struct rpc_task *task); |
200 | #endif /* __KERNEL__ */ | 202 | #endif /* __KERNEL__ */ |
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 5e3e1b63dbb3..a16070dd03ee 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h | |||
@@ -218,7 +218,8 @@ struct rpc_xprt { | |||
218 | struct work_struct task_cleanup; | 218 | struct work_struct task_cleanup; |
219 | struct timer_list timer; | 219 | struct timer_list timer; |
220 | unsigned long last_used, | 220 | unsigned long last_used, |
221 | idle_timeout; | 221 | idle_timeout, |
222 | max_reconnect_timeout; | ||
222 | 223 | ||
223 | /* | 224 | /* |
224 | * Send stuff | 225 | * Send stuff |