]> rtime.felk.cvut.cz Git - linux-imx.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>
Sun, 4 Nov 2012 19:43:41 +0000 (14:43 -0500)
commit4c9c52e479f493ccfc3f513e870912115b49058f
tree36cefe2821fcd4224a63e3f116d861a934502231
parentc4ded8d9771c8e8d5d7a202d58af9c70591dd675
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