dm table: fix blk_stack_limits arg to use bytes not sectors
authorMike Snitzer <snitzer@redhat.com>
Tue, 30 Jun 2009 14:18:17 +0000 (15:18 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 30 Jun 2009 14:18:17 +0000 (15:18 +0100)
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>

No differences found