summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-table.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2013-03-01 22:45:45 +0000
committerAlasdair G Kergon <agk@redhat.com>2013-03-01 22:45:45 +0000
commit58f77a2196ee65510885426e65049880be841193 (patch)
tree5ba1ff6a0f75c8df0a9be1c604a30304a98dcffb /drivers/md/dm-table.c
parent3daec3b447bcb894c5725e433f7331f4cdae5b0b (diff)
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/dm-table.c')
0 files changed, 0 insertions, 0 deletions