block: factor out bd_may_claim()
authorTejun Heo <tj@kernel.org>
Wed, 7 Apr 2010 09:52:29 +0000 (18:52 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 27 Apr 2010 08:57:54 +0000 (10:57 +0200)
commit1a3cbbc5a5e8a66934aa0947896a4aca6fd77298
treeb8425cd193874adee8ba36181e64294ef39335cc
parentafc24d49c1e5dbeef745c1c1246f5ae6ebd97c71
block: factor out bd_may_claim()

Factor out bd_may_claim() from bd_claim(), add comments and apply a
couple of cosmetic edits.  This is to prepare for further updates to
claim path.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/block_dev.c