]> git.hungrycats.org Git - linux/commit
[PATCH] md: fix BUG in raid5 resync code.
authorNeil Brown <neilb@cse.unsw.edu.au>
Sat, 5 Jun 2004 03:58:28 +0000 (20:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 5 Jun 2004 03:58:28 +0000 (20:58 -0700)
commita9b7c3577aa273dba2d44a6286cb39dc2b5d3d0e
tree707498f3b8bb120cdd71d4cc700feaf8e53fa7b9
parent0c6077193ff244514dba9edc7a7bd204d6ba2165
[PATCH] md: fix BUG in raid5 resync code.

This condtion on this loop is primarily to avoid the loop if it doesn't
appear to be needed.  However it optimises a little too much and there is a
case where it skips the loop when it is really needed.  This patch fixes
it.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid5.c