From: NeilBrown Date: Mon, 27 Mar 2006 09:18:19 +0000 (-0800) Subject: [PATCH] md: Restore 'remaining' count when retrying an write operation X-Git-Tag: v2.6.17-rc1~279 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f889129de148b0ba2e1fbc9e9d33a4ef4c5f2cb;p=pandora-kernel.git [PATCH] md: Restore 'remaining' count when retrying an write operation When retrying a write due to barrier failure, we don't reset 'remaining', so it goes negative and never hits 0 again. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed