]> err.no Git - linux-2.6/commit
[PATCH] md: Restore 'remaining' count when retrying an write operation
authorNeilBrown <neilb@suse.de>
Mon, 27 Mar 2006 09:18:19 +0000 (01:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:45:03 +0000 (08:45 -0800)
commit2f889129de148b0ba2e1fbc9e9d33a4ef4c5f2cb
tree78d9d9ceb070d92eb8c53cf6d683526e2447d7bc
parent8ddeeae51f2f197b4fafcba117ee8191b49d843e
[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 <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid1.c