[PATCH] md: fix bug when raid1 attempts a partial reconstruct.
authorNeilBrown <neilb@cse.unsw.edu.au>
Wed, 22 Jun 2005 00:17:23 +0000 (17:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 02:07:46 +0000 (19:07 -0700)
commitab7a30c7051ee32d0d72415fe0a16d60eba38a0d
treeab053c3d097e9ef7d2448944b8a20c8b0b8117a4
parent191ea9b2c7cc3ebbe0678834ab710d7d95ad3f9a
[PATCH] md: fix bug when raid1 attempts a partial reconstruct.

The logic here is wrong.  if fullsync is 0, it WILL BUG.

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/raid1.c