aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-25 18:42:55 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-30 02:05:40 -0500
commit47fe064831a2a949f6c1e0086f61a105e99ea867 (patch)
treee5a7d80ef3e3ab936257253de9c25f3dad62a2f9 /net
parent0773769191d943358a8392fa86abd756d004c4b6 (diff)
SUNRPC: Unexport rpc_init_task() and rpc_execute()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/sched.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c
index c03e7bf6e9bc..ce6cfae91e88 100644
--- a/net/sunrpc/sched.c
+++ b/net/sunrpc/sched.c
@@ -737,7 +737,6 @@ void rpc_execute(struct rpc_task *task)
737 rpc_set_running(task); 737 rpc_set_running(task);
738 __rpc_execute(task); 738 __rpc_execute(task);
739} 739}
740EXPORT_SYMBOL_GPL(rpc_execute);
741 740
742static void rpc_async_schedule(struct work_struct *work) 741static void rpc_async_schedule(struct work_struct *work)
743{ 742{
@@ -815,7 +814,7 @@ EXPORT_SYMBOL_GPL(rpc_free);
815/* 814/*
816 * Creation and deletion of RPC task structures 815 * Creation and deletion of RPC task structures
817 */ 816 */
818void rpc_init_task(struct rpc_task *task, const struct rpc_task_setup *task_setup_data) 817static void rpc_init_task(struct rpc_task *task, const struct rpc_task_setup *task_setup_data)
819{ 818{
820 memset(task, 0, sizeof(*task)); 819 memset(task, 0, sizeof(*task));
821 setup_timer(&task->tk_timer, (void (*)(unsigned long))rpc_run_timer, 820 setup_timer(&task->tk_timer, (void (*)(unsigned long))rpc_run_timer,
@@ -865,7 +864,6 @@ void rpc_init_task(struct rpc_task *task, const struct rpc_task_setup *task_setu
865 dprintk("RPC: new task initialized, procpid %u\n", 864 dprintk("RPC: new task initialized, procpid %u\n",
866 task_pid_nr(current)); 865 task_pid_nr(current));
867} 866}
868EXPORT_SYMBOL_GPL(rpc_init_task);
869 867
870static struct rpc_task * 868static struct rpc_task *
871rpc_alloc_task(void) 869rpc_alloc_task(void)