From: NeilBrown Date: Tue, 26 May 2009 02:41:08 +0000 (+1000) Subject: md: raid5: avoid sector values going negative when testing reshape progress. X-Git-Tag: v2.6.30-rc8~58^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=848b3182365fdf5a05bcd5ed949071cac2c894b3;p=pandora-kernel.git md: raid5: avoid sector values going negative when testing reshape progress. As sector_t in unsigned, we cannot afford to let 'safepos' etc go negative. So replace a -= b; by a -= min(b,a); Signed-off-by: NeilBrown --- Reading git-diff-tree failed