From: Andre Noll Date: Wed, 17 Jun 2009 22:45:01 +0000 (+1000) Subject: md: Make mddev->chunk_size sector-based. X-Git-Tag: v2.6.31-rc1~143^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d8f0363623b3da12c43007cf77f5e1a4e8a5964;p=pandora-kernel.git md: Make mddev->chunk_size sector-based. This patch renames the chunk_size field to chunk_sectors with the implied change of semantics. Since is_power_of_2(chunk_size) = is_power_of_2(chunk_sectors << 9) = is_power_of_2(chunk_sectors) these bits don't need an adjustment for the shift. Signed-off-by: Andre Noll Signed-off-by: NeilBrown --- Reading git-diff-tree failed