block: bd_start_claiming fix module refcount
authorNick Piggin <npiggin@suse.de>
Tue, 25 May 2010 15:50:21 +0000 (01:50 +1000)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 10 Jun 2010 17:08:34 +0000 (19:08 +0200)
commitcf3425707ed9ce0d5ebaba20bc3d22dd39e52f2f
tree49bf80d0e11e93f6b27ba481800901aae87597d7
parent63a07cb64ccc3ceae619d3298545d602ab5ecd38
block: bd_start_claiming fix module refcount

bd_start_claiming has an unbalanced module_put introduced in 6b4517a79.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/block_dev.c