diff options
author | pjd <pjd@FreeBSD.org> | 2004-09-27 19:32:26 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-09-27 19:32:26 +0000 |
commit | cad6af1c8fe52138765eb6bdda35bc074d8a938e (patch) | |
tree | bf7d56f18d22724c7fd88e035073eece697a7fda /sys/geom/mirror/g_mirror.c | |
parent | 6e31d065d37925f87772a7775c7dee18db982169 (diff) | |
download | FreeBSD-src-cad6af1c8fe52138765eb6bdda35bc074d8a938e.zip FreeBSD-src-cad6af1c8fe52138765eb6bdda35bc074d8a938e.tar.gz |
Minor, but very important condition fix. The current one can never be true.
Diffstat (limited to 'sys/geom/mirror/g_mirror.c')
-rw-r--r-- | sys/geom/mirror/g_mirror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c index e40532a..61cec14 100644 --- a/sys/geom/mirror/g_mirror.c +++ b/sys/geom/mirror/g_mirror.c @@ -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); |