]> rtime.felk.cvut.cz Git - linux-imx.git/commit
SUNRPC: remove BUG_ON in rpc_put_sb_net
authorWeston Andros Adamson <dros@netapp.com>
Tue, 23 Oct 2012 14:43:37 +0000 (10:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 4 Nov 2012 19:43:41 +0000 (14:43 -0500)
commit749386e906e76e3244030c35aeccfcb19c3357b8
tree0b20564e5bc872bc9e45ea470dbc29b939d18caf
parent0db74d9a2d2b312dd2cff066c5b97b8e626e403a
SUNRPC: remove BUG_ON in rpc_put_sb_net

Replace BUG_ON() with WARN_ON() - the condition is definitely a misuse
of the API, but shouldn't cause a crash.

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpc_pipe.c