1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131598

View File

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