summaryrefslogtreecommitdiffstats
path: root/kernel/power/swap.c
diff options
context:
space:
mode:
authorTejun Heo2010-11-13 11:55:17 +0100
committerTejun Heo2010-11-13 11:55:17 +0100
commit6a027eff62f6ae32d49f2ae5dadd6f4eee1ddae2 (patch)
tree3ab86a6fb37d1e4a7d21708feafbb58d1be72e5c /kernel/power/swap.c
parentblock: make blkdev_get/put() handle exclusive access (diff)
downloadkernel-qcow2-linux-6a027eff62f6ae32d49f2ae5dadd6f4eee1ddae2.tar.gz
kernel-qcow2-linux-6a027eff62f6ae32d49f2ae5dadd6f4eee1ddae2.tar.xz
kernel-qcow2-linux-6a027eff62f6ae32d49f2ae5dadd6f4eee1ddae2.zip
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>
Diffstat (limited to 'kernel/power/swap.c')
0 files changed, 0 insertions, 0 deletions