From: Andre Noll Date: Fri, 11 Jul 2008 12:02:22 +0000 (+1000) Subject: md: Make update_size() take the number of sectors. X-Git-Tag: v2.6.27-rc1~957^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d71f9f88d74166dcdef743a057f9222d64d2d509;p=pandora-kernel.git md: Make update_size() take the number of sectors. Changing the internal representations of sizes of raid devices from 1K blocks to sector counts (512B units) is desirable because it allows to get rid of many divisions/multiplications and unnecessary casts that are present in the current code. This patch is a first step in this direction. It replaces the old 1K-based "size" argument of update_size() by "num_sectors" and fixes up its two callers. Signed-off-by: Andre Noll Signed-off-by: Neil Brown --- Reading git-diff-tree failed