]> git.baikalelectronics.ru Git - kernel.git/commit
RPC: clarify rpc_run_task error handling
authorFred Isaman <iisaman@netapp.com>
Fri, 11 Feb 2011 15:42:36 +0000 (15:42 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:38:40 +0000 (15:38 -0500)
commit2afcf194fc5a4d017a53ccc06c3b182bc399e202
treed3af759bccd76ecb3b1f1b5ec027193051b55734
parentdf50daac0e3b31a1ab8e87830fb1fe260c1f5598
RPC: clarify rpc_run_task error handling

rpc_run_task can only fail if it is not passed in a preallocated task.
However, that is not at all clear with the current code.  So
remove several impossible to occur failure checks.

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