dm table: fix blk_stack_limits arg to use bytes not sectors
The offset passed to blk_stack_limits() must be in bytes not sectors. Fixes false warnings like the following: device-mapper: table: 254:1: target device sda6 is misaligned Signed-off-by:Mike Snitzer <snitzer@redhat.com> Reported-by:
Frans Pop <elendil@planet.nl> Tested-by:
Frans Pop <elendil@planet.nl> Signed-off-by:
Alasdair G Kergon <agk@redhat.com>
parent
874d2f61
Please register or sign in to comment