diff options
-rw-r--r-- | include/linux/sunrpc/sched.h | 1 | ||||
-rw-r--r-- | net/sunrpc/sched.c | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index 60a05c71637e..23481a5e1f53 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h | |||
@@ -247,7 +247,6 @@ struct rpc_wait_queue { | |||
247 | */ | 247 | */ |
248 | struct rpc_task *rpc_new_task(const struct rpc_task_setup *); | 248 | struct rpc_task *rpc_new_task(const struct rpc_task_setup *); |
249 | struct rpc_task *rpc_run_task(const struct rpc_task_setup *); | 249 | struct rpc_task *rpc_run_task(const struct rpc_task_setup *); |
250 | void rpc_init_task(struct rpc_task *task, const struct rpc_task_setup *); | ||
251 | void rpc_put_task(struct rpc_task *); | 250 | void rpc_put_task(struct rpc_task *); |
252 | void rpc_exit_task(struct rpc_task *); | 251 | void rpc_exit_task(struct rpc_task *); |
253 | void rpc_release_calldata(const struct rpc_call_ops *, void *); | 252 | void rpc_release_calldata(const struct rpc_call_ops *, void *); |
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 | } |
740 | EXPORT_SYMBOL_GPL(rpc_execute); | ||
741 | 740 | ||
742 | static void rpc_async_schedule(struct work_struct *work) | 741 | static 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 | */ |
818 | void rpc_init_task(struct rpc_task *task, const struct rpc_task_setup *task_setup_data) | 817 | static 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 | } |
868 | EXPORT_SYMBOL_GPL(rpc_init_task); | ||
869 | 867 | ||
870 | static struct rpc_task * | 868 | static struct rpc_task * |
871 | rpc_alloc_task(void) | 869 | rpc_alloc_task(void) |