From: Andre Noll Date: Fri, 11 Jul 2008 12:02:23 +0000 (+1000) Subject: md: Make calc_dev_sboffset() return a sector count. X-Git-Tag: v2.6.27-rc1~957^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b73df2d3d629aefa187a0a3574fd81455e026bc8;p=pandora-kernel.git md: Make calc_dev_sboffset() return a sector count. As BLOCK_SIZE_BITS is 10 and MD_NEW_SIZE_SECTORS(2 * x) = 2 * NEW_SIZE_BLOCKS(x), the return value of calc_dev_sboffset() doubles. Fix up all three callers accordingly. Signed-off-by: Andre Noll Signed-off-by: Neil Brown --- Reading git-diff-tree failed