block: remove duplicate BUG_ON() in bd_finish_claiming()
authorJens Axboe <jaxboe@fusionio.com>
Mon, 7 Jun 2010 18:17:38 +0000 (20:17 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 10 Jun 2010 17:08:34 +0000 (19:08 +0200)
commit3e6c05052c262ebe7fdd85e75e9d4f956cdd8d82
tree35b65924594cc085cc21b36c1b9f918961e760e0
parentb0018361c3f934858592cbbb5e1a4f318c2a70ed
block: remove duplicate BUG_ON() in bd_finish_claiming()

We do the same BUG_ON() just a line later when calling into
__bd_abort_claiming().

Reported-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/block_dev.c