diff options
author | asmodai <asmodai@FreeBSD.org> | 2000-05-14 07:43:12 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2000-05-14 07:43:12 +0000 |
commit | 0d05e481239a1d5410cfdb2e72430c54d39e9361 (patch) | |
tree | 74cff1b0abccb108692933cd1c57f226c4110a80 /sys/kern/vfs_export.c | |
parent | 3da24443150cfa8b73418f3709c147d3745a9c6f (diff) | |
download | FreeBSD-src-0d05e481239a1d5410cfdb2e72430c54d39e9361.zip FreeBSD-src-0d05e481239a1d5410cfdb2e72430c54d39e9361.tar.gz |
Fix the rootmount code for now.
This function will probably rewritten/renamed to devpp.
Submitted by: Assar Westerlund <assar@sics.se> on -current
Confirmed to work: Steinar Haug <sthaug@nethelp.no>,
Manfred Antar <mantar@pacbell.net>
Reviewed by: phk
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r-- | sys/kern/vfs_export.c | 3 |
1 files changed, 2 insertions, 1 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); |