Minor, but very important condition fix. The current one can never be true.
This commit is contained in:
parent
6e31d065d3
commit
cad6af1c8f
@ -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 New Issue
Block a user