SUNRPC: remove BUG_ON from rpc_run_bc_task
authorWeston Andros Adamson <dros@netapp.com>
Tue, 23 Oct 2012 14:43:27 +0000 (10:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 4 Nov 2012 19:43:40 +0000 (14:43 -0500)
commit9a6478f6cccbd15af30f02368e68b47390360485
tree9881821a86caa2e374ce95a242fb5e94dec7303d
parent922eeac30d8456b8e4462cfb94ddbb6846790ad4
SUNRPC: remove BUG_ON from rpc_run_bc_task

Replace BUG_ON() with WARN_ON_ONCE() - rpc_run_bc_task calls rpc_init_task()
then increments the tk_count, so this is a simple sanity check that
if hit once would hit every time this code path is executed.

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