mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
The alternate B_PAGING path for vnstrategy() is used for VM faults
as well as swap I/O now. This path failed to properly set bp->b_resid
on I/O completion.
This commit is contained in:
parent
ae84df99c4
commit
06fd697d15
1 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,7 @@
|
|||
* from: Utah Hdr: vn.c 1.13 94/04/02
|
||||
*
|
||||
* from: @(#)vn.c 8.6 (Berkeley) 4/1/94
|
||||
* $Id: vn.c,v 1.72 1999/01/21 17:17:02 peter Exp $
|
||||
* $Id: vn.c,v 1.73 1999/01/23 00:28:56 peter Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -411,6 +411,7 @@ vnstrategy(struct buf *bp)
|
|||
addr += sz;
|
||||
resid -= sz;
|
||||
}
|
||||
bp->b_resid = resid;
|
||||
biodone(bp);
|
||||
putvnbuf(nbp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue