summaryrefslogtreecommitdiffstats
path: root/sys/coda
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-09-07 13:17:06 +0000
committerbde <bde@FreeBSD.org>1998-09-07 13:17:06 +0000
commite170b2ba75b8cd52b3975e18747bd7f39539bb64 (patch)
treedfc401eb554740bf76aee34e0c28e57e54044a9e /sys/coda
parent166f26e95248d6d21790e846f2ada78c43dffd8f (diff)
downloadFreeBSD-src-e170b2ba75b8cd52b3975e18747bd7f39539bb64.zip
FreeBSD-src-e170b2ba75b8cd52b3975e18747bd7f39539bb64.tar.gz
Removed statically configured mount type numbers (MOUNT_*) and all
references to them. The change a couple of days ago to ignore these numbers in statically configured vfsconf structs was slightly premature because the cd9660, cfs, devfs, ext2fs, nfs vfs's still used MOUNT_* instead of the number in their vfsconf struct.
Diffstat (limited to 'sys/coda')
-rw-r--r--sys/coda/coda_vfsops.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/coda/coda_vfsops.c b/sys/coda/coda_vfsops.c
index 6486168..0831e17 100644
--- a/sys/coda/coda_vfsops.c
+++ b/sys/coda/coda_vfsops.c
@@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/cfs_vfsops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
- * $Id: $
+ * $Id: cfs_vfsops.c,v 1.2 1998/09/02 19:09:53 rvb Exp $
*
*/
@@ -47,6 +47,9 @@
/*
* HISTORY
* $Log: cfs_vfsops.c,v $
+ * Revision 1.2 1998/09/02 19:09:53 rvb
+ * Pass2 complete
+ *
* Revision 1.1.1.1 1998/08/29 21:14:52 rvb
* Very Preliminary Coda
*
@@ -232,7 +235,7 @@ struct vfsops cfs_vfsops = {
cfs_init,
};
-VFS_SET(cfs_vfsops, cfs, MOUNT_CFS, VFCF_NETWORK);
+VFS_SET(cfs_vfsops, cfs, VFCF_NETWORK);
int
cfs_vfsopstats_init(void)
@@ -565,7 +568,7 @@ cfs_nb_statfs(vfsp, sbp, p)
#define NB_SFS_SIZ 0x895440
*/
/* Note: Normal fs's have a bsize of 0x400 == 1024 */
- sbp->f_type = MOUNT_CFS;
+ sbp->f_type = vfsp->mnt_vfc->vfc_typenum;
sbp->f_bsize = 8192; /* XXX */
sbp->f_iosize = 8192; /* XXX */
#define NB_SFS_SIZ 0x8AB75D
OpenPOWER on IntegriCloud