]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SUNRPC: remove BUG_ON from bc_send
authorWeston Andros Adamson <dros@netapp.com>
Tue, 23 Oct 2012 14:43:35 +0000 (10:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 1 Nov 2012 16:02:13 +0000 (12:02 -0400)
commit3e8ce2972979c873b5b595c29a9d0b130eb2a1c6
tree06657d3c35f7b56a6f646bcf75464c1f46a29fba
parent11df5917382223878f3535e49fef4ca7b8adadd5
SUNRPC: remove BUG_ON from bc_send

Replace BUG_ON() with WARN_ON_ONCE(). The error condition is a simple
ref counting sanity check and the following code will not free anything
until final put.

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