Minor, but very important condition fix. The current one can never be true.

This commit is contained in:
pjd 2004-09-27 19:32:26 +00:00
parent 6e31d065d3
commit cad6af1c8f

View File

@ -1234,7 +1234,7 @@ g_mirror_register_request(struct bio *bp)
else if (bp->bio_offset + bp->bio_length >
sync->ds_offset_done &&
(bp->bio_offset < sync->ds_resync ||
sync->ds_resync != -1)) {
sync->ds_resync == -1)) {
sync->ds_resync = bp->bio_offset -
(bp->bio_offset %
G_MIRROR_SYNC_BLOCK_SIZE);