]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
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)
commitea9df47cc92573b159ef3b4fda516c32cba9c4fd
tree5d951e91c9be014420d5eb5772d7546e8ce5a435
parent874d2f61d31e596c36af7732dc1b3aa2dc233824
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>
drivers/md/dm-table.c