mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
Remove last vestiges of MFS.
This commit is contained in:
parent
e23faa1027
commit
c7a3e2379c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77437
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user