The patch titled dm table: pass device's data start to blk_stack_limits() in bytes has been removed from the -mm tree. Its filename was dm-table-pass-devices-data-start-to-blk_stack_limits-in-bytes.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: dm table: pass device's data start to blk_stack_limits() in bytes From: Mike Snitzer <snitzer@xxxxxxxxxx> 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 Addresses http://bugzilla.kernel.org/show_bug.cgi?id=13641 Signed-off-by: Mike Snitzer <snitzer@xxxxxxxxxx> Reported-by: Frans Pop <elendil@xxxxxxxxx> Tested-by: Frans Pop <elendil@xxxxxxxxx> Cc: Alasdair G Kergon <agk@xxxxxxxxxx> Cc: Jean-Luc Coulon <jean.luc.coulon@xxxxxxxxx> Cc: "Rafael J. Wysocki" <rjw@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/md/dm-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/md/dm-table.c~dm-table-pass-devices-data-start-to-blk_stack_limits-in-bytes drivers/md/dm-table.c --- a/drivers/md/dm-table.c~dm-table-pass-devices-data-start-to-blk_stack_limits-in-bytes +++ a/drivers/md/dm-table.c @@ -495,7 +495,7 @@ int dm_set_device_limits(struct dm_targe return 0; } - if (blk_stack_limits(limits, &q->limits, start) < 0) + if (blk_stack_limits(limits, &q->limits, start << 9) < 0) DMWARN("%s: target device %s is misaligned", dm_device_name(ti->table->md), bdevname(bdev, b)); _ Patches currently in -mm which might be from snitzer@xxxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html