]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 1 Nov 2012 16:02:10 +0000 (12:02 -0400)
commit666f4763e447cd10459b6f73de1122fc0d3676f8
tree1e65b5f07293dca3aad470fc3cc6063ab34cc886
parent6b0fbc6f0ce5195f6ec276ad464b59e8a561fbec
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