]> git.baikalelectronics.ru Git - kernel.git/commit
block: reorganize claim/release implementation
authorTejun Heo <tj@kernel.org>
Sat, 13 Nov 2010 10:55:17 +0000 (11:55 +0100)
committerTejun Heo <tj@kernel.org>
Sat, 13 Nov 2010 10:55:17 +0000 (11:55 +0100)
commit403d2348d4abf1d50b9f2900a1fe49c4ce31311f
tree3ab86a6fb37d1e4a7d21708feafbb58d1be72e5c
parent07694f05d1c8cabde71bbec936f5aaff0b73ceac
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>
fs/block_dev.c