No need to initialize bio_pblkno from bio_blkno, disksort uses bio_offset.
This commit is contained in:
parent
4cb4df483c
commit
3a71ca7daa
@ -1069,7 +1069,6 @@ acd_strategy(struct bio *bp)
|
||||
return;
|
||||
}
|
||||
|
||||
bp->bio_pblkno = bp->bio_blkno;
|
||||
bp->bio_resid = bp->bio_bcount;
|
||||
|
||||
mtx_lock(&cdp->queue_mtx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user