aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-07-11 21:34:41 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-07-11 21:34:41 +0000
commit26e3bc3a96cee8e07d7755b434c79607998e39e2 (patch)
tree8abd2f5c86562547f8063d5e4091186e70860d31 /sys
parent0e3ce855ccd8f2dc7d3e0c8998e6921bf97e902a (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/coda/coda_vfsops.c2
-rw-r--r--sys/fs/coda/coda_vfsops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/coda/coda_vfsops.c b/sys/coda/coda_vfsops.c
index 4e30e223f4cd0..3e93a2e17874f 100644
--- a/sys/coda/coda_vfsops.c
+++ b/sys/coda/coda_vfsops.c
@@ -183,7 +183,7 @@ coda_mount(struct mount *vfsp, struct thread *td)
rootvp = CTOV(cp);
rootvp->v_vflag |= VV_ROOT;
- cp = make_coda_node(&ctlfid, vfsp, VCHR);
+ cp = make_coda_node(&ctlfid, vfsp, VREG);
coda_ctlvp = CTOV(cp);
/* Add vfs and rootvp to chain of vfs hanging off mntinfo */
diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c
index 4e30e223f4cd0..3e93a2e17874f 100644
--- a/sys/fs/coda/coda_vfsops.c
+++ b/sys/fs/coda/coda_vfsops.c
@@ -183,7 +183,7 @@ coda_mount(struct mount *vfsp, struct thread *td)
rootvp = CTOV(cp);
rootvp->v_vflag |= VV_ROOT;
- cp = make_coda_node(&ctlfid, vfsp, VCHR);
+ cp = make_coda_node(&ctlfid, vfsp, VREG);
coda_ctlvp = CTOV(cp);
/* Add vfs and rootvp to chain of vfs hanging off mntinfo */