diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-01-03 03:55:10 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-01-06 14:58:42 -0500 |
commit | e60859ac0e50f660d23b72e42e05f58757dcfeff (patch) | |
tree | a48b07cea18971545bd6670f66f8b8341d393cbc /net/sunrpc/sched.c | |
parent | 89991c24e48b76f40aa3bd8c40c1e87c75d10a33 (diff) |
SUNRPC: rpc_execute should not return task->tk_status;
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/sched.c')
-rw-r--r-- | net/sunrpc/sched.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index 82d158dad16d..48510e3ffa02 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c | |||
@@ -694,9 +694,7 @@ static int __rpc_execute(struct rpc_task *task) | |||
694 | dprintk("RPC: %4d sync task resuming\n", task->tk_pid); | 694 | dprintk("RPC: %4d sync task resuming\n", task->tk_pid); |
695 | } | 695 | } |
696 | 696 | ||
697 | dprintk("RPC: %4d exit() = %d\n", task->tk_pid, task->tk_status); | 697 | dprintk("RPC: %4d, return %d, status %d\n", task->tk_pid, status, task->tk_status); |
698 | status = task->tk_status; | ||
699 | |||
700 | /* Wake up anyone who is waiting for task completion */ | 698 | /* Wake up anyone who is waiting for task completion */ |
701 | rpc_mark_complete_task(task); | 699 | rpc_mark_complete_task(task); |
702 | /* Release all resources associated with the task */ | 700 | /* Release all resources associated with the task */ |