summaryrefslogtreecommitdiff
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2013-03-01 22:45:45 (GMT)
committerAlasdair G Kergon <agk@redhat.com>2013-03-01 22:45:45 (GMT)
commit58f77a2196ee65510885426e65049880be841193 (patch)
tree5ba1ff6a0f75c8df0a9be1c604a30304a98dcffb /drivers/md/Kconfig
parent3daec3b447bcb894c5725e433f7331f4cdae5b0b (diff)
downloadlinux-58f77a2196ee65510885426e65049880be841193.tar.xz
dm thin: use block_size_is_power_of_two
Use block_size_is_power_of_two() rather than checking sectors_per_block_shift directly. Also introduce local pool variable in get_bio_block() to eliminate redundant tc->pool dereferences. No functional change. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/Kconfig')
0 files changed, 0 insertions, 0 deletions