Skip to content
Commit 6a027eff authored by Tejun Heo's avatar Tejun Heo
Browse files

block: reorganize claim/release implementation



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>
parent e525fd89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment