From: Mike Snitzer Date: Thu, 23 Jul 2009 19:30:42 +0000 (+0100) Subject: dm table: pass correct dev area size to device_area_is_valid X-Git-Tag: v2.6.31-rc5~91^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dea271b6d87bd1d79a59c1d5baac2596a841c37;p=pandora-kernel.git dm table: pass correct dev area size to device_area_is_valid Incorrect device area lengths are being passed to device_area_is_valid(). The regression appeared in 2.6.31-rc1 through commit 754c5fc7ebb417b23601a6222a6005cc2e7f2913. With the dm-stripe target, the size of the target (ti->len) was used instead of the stripe_width (ti->len/#stripes). An example of a consequent incorrect error message is: device-mapper: table: 254:0: sdb too small for target Signed-off-by: Mike Snitzer Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed