mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-20 02:38:43 +00:00
Fixed incorrect bufsize assignment that was causing a panic.
Submitted by: John Dyson
This commit is contained in:
parent
31998a1a56
commit
d86d477fe6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6338
@ -291,7 +291,7 @@ vnstrategy(struct buf *bp)
|
||||
nbp = getvnbuf();
|
||||
nbp->b_flags = flags;
|
||||
nbp->b_bcount = sz;
|
||||
nbp->b_bufsize = bp->b_bufsize;
|
||||
nbp->b_bufsize = sz;
|
||||
nbp->b_error = 0;
|
||||
if (vp->v_type == VBLK || vp->v_type == VCHR)
|
||||
nbp->b_dev = vp->v_rdev;
|
||||
|
Loading…
Reference in New Issue
Block a user