SUNRPC remove rpc_task_release_client from rpc_task_set_client
authorAndy Adamson <andros@netapp.com>
Fri, 9 Sep 2016 13:22:22 +0000 (09:22 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 19 Sep 2016 17:08:36 +0000 (13:08 -0400)
commit7705f6abbb75ff8058e785a3f2e03b8c3962cfa3
tree336796bc3b489669e6dc242fa6ee62c8b1a27e33
parentba84db96aa07995b853db403a3eba2249f0fa4e3
SUNRPC remove rpc_task_release_client from rpc_task_set_client

rpc_task_set_client is only called from rpc_run_task after
rpc_new_task and rpc_task_release_client is not needed as the
task is new.

When called from rpc_new_task, rpc_task_set_client also removed the
assigned rpc_xprt which is not desired.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/clnt.c