mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Minor, but very important condition fix. The current one can never be true.
This commit is contained in:
parent
961da2716b
commit
829c0864cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue