SUNRPC: Ensure rpc_call_async() always calls tk_ops->rpc_release()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 23:11:10 +0000 (18:11 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 23:11:10 +0000 (18:11 -0500)
commit7a1218a277c45cba1fb8d7089407a1769c645c43
treec59634979c53606696993ef06297045015791d6e
parent43ac3f2961b8616da26114ec6dc76ac2a61f76ad
SUNRPC: Ensure rpc_call_async() always calls tk_ops->rpc_release()

Currently this will not happen if we exit before rpc_new_task() was called.
Also fix up rpc_run_task() to do the same (for consistency).

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