summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-25 18:42:53 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-30 02:05:38 -0500
commite8f5d77c8029ff8f5dcd1dfc133aac0bbbffd92b (patch)
tree590563991cc37325ef6c346745f0163c329e3e2c /include/linux/sunrpc
parentb5627943ab6fabbc13a45d92683363a3d08a249f (diff)
downloadblackbird-op-linux-e8f5d77c8029ff8f5dcd1dfc133aac0bbbffd92b.tar.gz
blackbird-op-linux-e8f5d77c8029ff8f5dcd1dfc133aac0bbbffd92b.zip
SUNRPC: allow the caller of rpc_run_task to preallocate the struct rpc_task
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h
index c9444fdc23ac..60a05c71637e 100644
--- a/include/linux/sunrpc/sched.h
+++ b/include/linux/sunrpc/sched.h
@@ -118,6 +118,7 @@ struct rpc_call_ops {
};
struct rpc_task_setup {
+ struct rpc_task *task;
struct rpc_clnt *rpc_client;
const struct rpc_message *rpc_message;
const struct rpc_call_ops *callback_ops;
OpenPOWER on IntegriCloud