mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=43492
@ -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 New Issue
Block a user