提交 1facf4c4 编写于 作者: W Weston Andros Adamson 提交者: Trond Myklebust

SUNRPC: remove BUG_ON from call_bc_transmit

Replace BUG_ON() with WARN_ON_ONCE().
Signed-off-by: NWeston Andros Adamson <dros@netapp.com>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册