Mike Snitzer 58f77a2196 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>
2013-03-01 22:45:45 +00:00
..
2013-02-22 23:31:31 -05:00
2012-03-28 18:41:29 +01:00
2013-03-01 22:45:44 +00:00
2013-03-01 22:45:44 +00:00
2013-03-01 22:45:44 +00:00
2013-03-01 22:45:44 +00:00
2013-03-01 22:45:44 +00:00
2012-07-30 17:25:16 -07:00
2013-03-01 22:45:44 +00:00
2013-03-01 22:45:44 +00:00
2013-03-01 22:45:44 +00:00
2013-03-01 22:45:44 +00:00
2013-03-01 22:45:44 +00:00
2012-12-21 20:23:41 +00:00
2013-03-01 22:45:44 +00:00
2012-12-21 20:23:41 +00:00
2012-12-21 20:23:38 +00:00
2012-10-22 10:44:55 +11:00
2012-10-11 13:08:44 +11:00
2012-12-18 09:32:44 -08:00
2012-12-18 09:32:44 -08:00
2012-10-11 13:25:44 +11:00
2012-10-11 13:49:05 +11:00