commit | 58f77a2196ee65510885426e65049880be841193 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Fri Mar 01 22:45:45 2013 +0000 |
committer | Alasdair G Kergon <agk@redhat.com> | Fri Mar 01 22:45:45 2013 +0000 |
tree | 5ba1ff6a0f75c8df0a9be1c604a30304a98dcffb | |
parent | 3daec3b447bcb894c5725e433f7331f4cdae5b0b [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>