diff options
author | Weston Andros Adamson <dros@netapp.com> | 2012-10-23 10:43:30 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-04 14:43:40 -0500 |
commit | 1facf4c4a486d515759edc0b2ece927942dd8167 (patch) | |
tree | eb97048e9a5edce7a571de78beff83e531392573 /net/sunrpc | |
parent | 576e613d2111036a075b7c4f7cafdf29a0021c29 (diff) | |
download | linux-1facf4c4a486d515759edc0b2ece927942dd8167.tar.gz linux-1facf4c4a486d515759edc0b2ece927942dd8167.tar.bz2 linux-1facf4c4a486d515759edc0b2ece927942dd8167.zip |
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>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index f1ab4a8ae22c..913140173739 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -1794,7 +1794,7 @@ call_bc_transmit(struct rpc_task *task) * We were unable to reply and will have to drop the * 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 " "error: %d\n", task->tk_status); break; |