aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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 530715d0a5e5..4c73aa368dd6 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 530715d0a5e5..4c73aa368dd6 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 fd77a1786f2e..30bd592460db 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 530715d0a5e5..4c73aa368dd6 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