diff options
author | bde <bde@FreeBSD.org> | 1998-09-07 13:17:06 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-09-07 13:17:06 +0000 |
commit | e170b2ba75b8cd52b3975e18747bd7f39539bb64 (patch) | |
tree | dfc401eb554740bf76aee34e0c28e57e54044a9e /sys/isofs/cd9660/cd9660_vfsops.c | |
parent | 166f26e95248d6d21790e846f2ada78c43dffd8f (diff) | |
download | FreeBSD-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/isofs/cd9660/cd9660_vfsops.c')
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index cc1672f..293fd96 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95 - * $Id: cd9660_vfsops.c,v 1.41 1998/07/04 22:30:21 julian Exp $ + * $Id: cd9660_vfsops.c,v 1.42 1998/09/07 07:20:30 guido Exp $ */ #include <sys/param.h> @@ -90,7 +90,7 @@ static struct vfsops cd9660_vfsops = { cd9660_vptofh, cd9660_init }; -VFS_SET(cd9660_vfsops, cd9660, MOUNT_CD9660, VFCF_READONLY); +VFS_SET(cd9660_vfsops, cd9660, VFCF_READONLY); /* @@ -582,7 +582,6 @@ cd9660_statfs(mp, sbp, p) isomp = VFSTOISOFS(mp); - sbp->f_type = MOUNT_CD9660; sbp->f_bsize = isomp->logical_block_size; sbp->f_iosize = sbp->f_bsize; /* XXX */ sbp->f_blocks = isomp->volume_space_size; @@ -591,6 +590,7 @@ cd9660_statfs(mp, sbp, p) sbp->f_files = 0; /* total files */ sbp->f_ffree = 0; /* free file nodes */ if (sbp != &mp->mnt_stat) { + sbp->f_type = mp->mnt_vfc->vfc_typenum; bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN); bcopy(mp->mnt_stat.f_mntfromname, sbp->f_mntfromname, MNAMELEN); } |