]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 1 Nov 2012 16:02:14 +0000 (12:02 -0400)
commitfe80e6a2f217549e6331adaa2cdbe4299cd8c82e
tree419bd66e576cde366db1e789159b779d5f8c917f
parentaaa89a4fd483e10593f19e8fce34513a3b885c83
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