]> git.baikalelectronics.ru Git - kernel.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)
commit768c9cb0fc52fb5e3e1e51aeff91d7ec0e2ff6b8
tree0b20564e5bc872bc9e45ea470dbc29b939d18caf
parent955a319e60186ebd9074fa7d2869e8e3117186ae
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