diff options
author | Chuck Lever <cel@citi.umich.edu> | 2005-08-11 16:25:44 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-09-23 12:38:24 -0400 |
commit | 44fbac2288dfed6f1963ac00bf922c3bcd779cd1 (patch) | |
tree | f256182f85b4fdf9185903d6f0531f877e311c8e /include/linux/sunrpc/xprt.h | |
parent | 86b9f57dfdf455763d2be73a742a9a88bb664173 (diff) |
[PATCH] RPC: Add helper for waking tasks pending on a transport
Clean-up: remove only reference to xprt->pending from the socket transport
implementation. This makes a cleaner interface for other transport
implementations as well.
Test-plan:
Compile kernel with CONFIG_NFS enabled.
Version: Thu, 11 Aug 2005 16:06:52 -0400
Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/xprt.h')
-rw-r--r-- | include/linux/sunrpc/xprt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 009a3bb4f997..d5223993fca9 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h | |||
@@ -232,6 +232,7 @@ void xprt_reserve(struct rpc_task *); | |||
232 | int xprt_prepare_transmit(struct rpc_task *); | 232 | int xprt_prepare_transmit(struct rpc_task *); |
233 | void xprt_transmit(struct rpc_task *); | 233 | void xprt_transmit(struct rpc_task *); |
234 | void xprt_receive(struct rpc_task *); | 234 | void xprt_receive(struct rpc_task *); |
235 | void xprt_wake_pending_tasks(struct rpc_xprt *, int); | ||
235 | int xprt_adjust_timeout(struct rpc_rqst *req); | 236 | int xprt_adjust_timeout(struct rpc_rqst *req); |
236 | void xprt_release(struct rpc_task *); | 237 | void xprt_release(struct rpc_task *); |
237 | void xprt_connect(struct rpc_task *); | 238 | void xprt_connect(struct rpc_task *); |