Commit 1facf4c4 authored by Weston Andros Adamson's avatar Weston Andros Adamson Committed by Trond Myklebust

SUNRPC: remove BUG_ON from call_bc_transmit

Replace BUG_ON() with WARN_ON_ONCE().
Signed-off-by: default avatarWeston Andros Adamson <dros@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 576e613d
...@@ -1794,7 +1794,7 @@ call_bc_transmit(struct rpc_task *task) ...@@ -1794,7 +1794,7 @@ call_bc_transmit(struct rpc_task *task)
* We were unable to reply and will have to drop the * We were unable to reply and will have to drop the
* request. The server should reconnect and retransmit. * request. The server should reconnect and retransmit.
*/ */
BUG_ON(task->tk_status == -EAGAIN); WARN_ON_ONCE(task->tk_status == -EAGAIN);
printk(KERN_NOTICE "RPC: Could not send backchannel reply " printk(KERN_NOTICE "RPC: Could not send backchannel reply "
"error: %d\n", task->tk_status); "error: %d\n", task->tk_status);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment