md: remove MD_BUG()
authorNeilBrown <neilb@suse.de>
Tue, 30 Sep 2014 05:52:29 +0000 (15:52 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 14 Oct 2014 02:08:29 +0000 (13:08 +1100)
commit403df4788837cdaceaa55bcfae1c6eade2abdb5b
treeb54e9c7651e710071a2136e65ffb63218c99a71c
parent3adc28d85f18aebc34011cb7308a579c58072fe1
md: remove MD_BUG()

Most of the places that call this are doing so pointlessly.
A couple of the others a best replaced with WARN_ON().

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c