summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-05-14 07:43:12 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2000-05-14 07:43:12 +0000
commit01f76720fb7b5d9efb74acd603a926efc2064fa1 (patch)
tree0942c3fbd5c9e94b447e9a46623ff26d0060de9e /sys/kern/vfs_subr.c
parent59a7de882e67b7402123ef1732a44867d77ccd9a (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 662085265cef..670d999545ad 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1276,6 +1276,7 @@ reassignbuf(bp, newvp)
/*
* Create a vnode for a block device.
* Used for mounting the root file system.
+ * XXX: This now changed to a VCHR due to the block/char merging.
*/
int
bdevvp(dev, vpp)
@@ -1296,7 +1297,7 @@ bdevvp(dev, vpp)
return (error);
}
vp = nvp;
- vp->v_type = VBLK;
+ vp->v_type = VCHR;
addalias(vp, dev);
*vpp = vp;
return (0);