Fixed incorrect bufsize assignment that was causing a panic.

Submitted by:	John Dyson
This commit is contained in:
dg 1995-02-13 04:25:46 +00:00
parent 5b149cbe50
commit e685147d48

View File

@ -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;