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 | |
parent | 576e613d2111036a075b7c4f7cafdf29a0021c29 (diff) |
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')
-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) | |||
1794 | * We were unable to reply and will have to drop the | 1794 | * We were unable to reply and will have to drop the |
1795 | * request. The server should reconnect and retransmit. | 1795 | * request. The server should reconnect and retransmit. |
1796 | */ | 1796 | */ |
1797 | BUG_ON(task->tk_status == -EAGAIN); | 1797 | WARN_ON_ONCE(task->tk_status == -EAGAIN); |
1798 | printk(KERN_NOTICE "RPC: Could not send backchannel reply " | 1798 | printk(KERN_NOTICE "RPC: Could not send backchannel reply " |
1799 | "error: %d\n", task->tk_status); | 1799 | "error: %d\n", task->tk_status); |
1800 | break; | 1800 | break; |