From: Rémi Rérolle Date: Thu, 13 Jan 2011 22:14:34 +0000 (+1100) Subject: md: fix sync_completed reporting for very large drives (>2TB) X-Git-Tag: v2.6.38-rc1~222^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13ae864bc86ff65547ffe7e966b6433a0d0edb8a;p=pandora-kernel.git md: fix sync_completed reporting for very large drives (>2TB) The values exported in the sync_completed file are unsigned long, which overflows with very large drives, resulting in wrong values reported. Since sync_completed uses sectors as unit, we'll start getting wrong values with components larger than 2TB. This patch simply replaces the use of unsigned long by unsigned long long. Signed-off-by: Rémi Rérolle Signed-off-by: NeilBrown --- Reading git-diff-tree failed