commit | 6a027eff62f6ae32d49f2ae5dadd6f4eee1ddae2 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sat Nov 13 11:55:17 2010 +0100 |
committer | Tejun Heo <tj@kernel.org> | Sat Nov 13 11:55:17 2010 +0100 |
tree | 3ab86a6fb37d1e4a7d21708feafbb58d1be72e5c | |
parent | e525fd89d380c4a94c0d63913a1dd1a593ed25e7 [diff] |
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: Tejun Heo <tj@kernel.org>