summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-29 21:21:53 +0000
committerphk <phk@FreeBSD.org>2001-05-29 21:21:53 +0000
commitd442761285cb9aec0bf9a30cd101676181c09e4b (patch)
tree21a24eafecfad118479be7139c2ffb554b7a80f3
parent650a04f5d6f114cbbcdf24f7393f92192668d512 (diff)
downloadFreeBSD-src-d442761285cb9aec0bf9a30cd101676181c09e4b.zip
FreeBSD-src-d442761285cb9aec0bf9a30cd101676181c09e4b.tar.gz
Remove last vestiges of MFS.
-rw-r--r--sys/gnu/ext2fs/ext2_mount.h10
-rw-r--r--sys/gnu/fs/ext2fs/ext2_mount.h10
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c8
-rw-r--r--sys/ufs/ufs/ufsmount.h10
4 files changed, 4 insertions, 34 deletions
diff --git a/sys/gnu/ext2fs/ext2_mount.h b/sys/gnu/ext2fs/ext2_mount.h
index 530715d..4c73aa3 100644
--- a/sys/gnu/ext2fs/ext2_mount.h
+++ b/sys/gnu/ext2fs/ext2_mount.h
@@ -45,16 +45,6 @@ struct ufs_args {
struct export_args export; /* network export information */
};
-/*
- * Arguments to mount MFS
- */
-struct mfs_args {
- char *fspec; /* name to export for statfs */
- struct export_args export; /* if exported MFSes are supported */
- caddr_t base; /* base of file system in memory */
- u_long size; /* size of file system */
-};
-
#ifdef _KERNEL
#ifdef MALLOC_DECLARE
diff --git a/sys/gnu/fs/ext2fs/ext2_mount.h b/sys/gnu/fs/ext2fs/ext2_mount.h
index 530715d..4c73aa3 100644
--- a/sys/gnu/fs/ext2fs/ext2_mount.h
+++ b/sys/gnu/fs/ext2fs/ext2_mount.h
@@ -45,16 +45,6 @@ struct ufs_args {
struct export_args export; /* network export information */
};
-/*
- * Arguments to mount MFS
- */
-struct mfs_args {
- char *fspec; /* name to export for statfs */
- struct export_args export; /* if exported MFSes are supported */
- caddr_t base; /* base of file system in memory */
- u_long size; /* size of file system */
-};
-
#ifdef _KERNEL
#ifdef MALLOC_DECLARE
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index fd77a17..30bd592 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -397,9 +397,9 @@ ffs_reload(mp, cred, p)
/*
* Only VMIO the backing device if the backing device is a real
- * block device. See ffs_mountmfs() for more details.
+ * block device.
*/
- if (devvp->v_tag != VT_MFS && vn_isdisk(devvp, NULL)) {
+ if (vn_isdisk(devvp, NULL)) {
vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, p);
vfs_object_create(devvp, p, p->p_ucred);
mtx_lock(&devvp->v_interlock);
@@ -569,11 +569,11 @@ ffs_mountfs(devvp, mp, p, malloctype)
/*
* Only VMIO the backing device if the backing device is a real
- * block device. This excludes the original MFS implementation.
+ * block device.
* Note that it is optional that the backing device be VMIOed. This
* increases the opportunity for metadata caching.
*/
- if (devvp->v_tag != VT_MFS && vn_isdisk(devvp, NULL)) {
+ if (vn_isdisk(devvp, NULL)) {
vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, p);
vfs_object_create(devvp, p, cred);
mtx_lock(&devvp->v_interlock);
diff --git a/sys/ufs/ufs/ufsmount.h b/sys/ufs/ufs/ufsmount.h
index 530715d..4c73aa3 100644
--- a/sys/ufs/ufs/ufsmount.h
+++ b/sys/ufs/ufs/ufsmount.h
@@ -45,16 +45,6 @@ struct ufs_args {
struct export_args export; /* network export information */
};
-/*
- * Arguments to mount MFS
- */
-struct mfs_args {
- char *fspec; /* name to export for statfs */
- struct export_args export; /* if exported MFSes are supported */
- caddr_t base; /* base of file system in memory */
- u_long size; /* size of file system */
-};
-
#ifdef _KERNEL
#ifdef MALLOC_DECLARE
OpenPOWER on IntegriCloud