From c555963fd1f83bc929a8ccf18a15f75ec43a4b2c Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 4 Jul 2004 22:33:22 +0000 Subject: [PATCH] Give synthetic root filesystem device vnodes a v_bsize of DEV_BSIZE. --- sys/kern/vfs_subr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index a542c7c3d163..d9caddc85cb5 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -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);