From: Jonathan Brassow Date: Fri, 21 Dec 2012 20:23:33 +0000 (+0000) Subject: dm raid: round region_size to power of two X-Git-Tag: v3.8-rc1~3^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a0f9aaee02857609d79b20c809c02a8b7c39d06;p=pandora-kernel.git dm raid: round region_size to power of two If the user does not supply a bitmap region_size to the dm raid target, a reasonable size is computed automatically. If this is not a power of 2, the md code will report an error later. This patch catches the problem early and rounds the region_size to the next power of two. Signed-off-by: Jonathan Brassow Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed