From: NeilBrown Date: Wed, 17 Jun 2009 23:14:12 +0000 (+1000) Subject: md/raid5: correctly update sync_completed when we reach max_resync X-Git-Tag: v2.6.31-rc1~143^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48606a9f2fc034f0b308d088c1f7ab6d407c462c;p=pandora-kernel.git md/raid5: correctly update sync_completed when we reach max_resync At the end of reshape_request we update cyrr_resync_completed if we are about to pause due to reaching resync_max. However we update it to the wrong value. We need to add the "reshape_sectors" that have just been reshaped. Signed-off-by: NeilBrown --- Reading git-diff-tree failed