Give synthetic root filesystem device vnodes a v_bsize of DEV_BSIZE.

This commit is contained in:
Poul-Henning Kamp 2004-07-04 22:33:22 +00:00
parent 6776cbbd07
commit c555963fd1

View File

@ -1824,6 +1824,7 @@ bdevvp(dev, vpp)
} }
vp = nvp; vp = nvp;
vp->v_type = VCHR; vp->v_type = VCHR;
vp->v_bsize = DEV_BSIZE;
addalias(vp, dev); addalias(vp, dev);
*vpp = vp; *vpp = vp;
return (0); return (0);