SUNRPC: Fix the return value of rpc_run_bc_task()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 19 Mar 2010 20:17:45 +0000 (16:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 22 Mar 2010 09:34:12 +0000 (05:34 -0400)
commitff0901f8036a1586037c30a365c9666e946af0f1
tree0ac6bf41e2d0837dfa7107052f741d78a08a6dd7
parentc9acb42ef1904d15d0fb315061cefbe638f67f3a
SUNRPC: Fix the return value of rpc_run_bc_task()

Currently rpc_run_bc_task() will return NULL if the task allocation failed.
However the only caller is bc_send, which assumes that the return value
will be an ERR_PTR.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c