summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c8
-rw-r--r--sys/ufs/ufs/ufsmount.h10
2 files changed, 4 insertions, 14 deletions
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