summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_export.c3
-rw-r--r--sys/kern/vfs_subr.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index 6620852..670d999 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.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);
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 6620852..670d999 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);
OpenPOWER on IntegriCloud