• Tejun Heo's avatar
    block: reorganize claim/release implementation · 6a027eff
    Tejun Heo authored
    With claim/release rolled into blkdev_get/put(), there's no reason to
    keep bd_abort/finish_claim(), __bd_claim() and bd_release() as
    separate functions.  It only makes the code difficult to follow.
    Collapse them into blkdev_get/put().  This will ease future changes
    around claim/release.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    6a027eff
block_dev.c 35.9 KB