]> git.karo-electronics.de Git - linux-beck.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)
commiteabf5baaaaf41b6a0273043cfb06d53dca67acef
treed3af759bccd76ecb3b1f1b5ec027193051b55734
parentcee6a5372f8804f58acc87f07816f64db36718e2
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