SUNRPC: remove BUG_ON from call_bc_transmit

Replace BUG_ON() with WARN_ON_ONCE().

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Weston Andros Adamson 2012-10-23 10:43:30 -04:00 коммит произвёл Trond Myklebust
Родитель 576e613d21
Коммит 1facf4c4a4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;