mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Stop pretending to have a vm_object backing the underlying disk vnode:
it isn't used for anything anywhere and the vnode_pager would explode if we attempted to.
This commit is contained in:
parent
9c6a3f03c6
commit
5e2ccaff7a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137486
@ -433,7 +433,6 @@ ffs_reload(struct mount *mp, struct thread *td)
|
||||
vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, td);
|
||||
if (vinvalbuf(devvp, 0, td->td_ucred, td, 0, 0) != 0)
|
||||
panic("ffs_reload: dirty1");
|
||||
vfs_object_create(devvp, td, td->td_ucred);
|
||||
VOP_UNLOCK(devvp, 0, td);
|
||||
|
||||
/*
|
||||
@ -577,7 +576,6 @@ ffs_mountfs(devvp, mp, td)
|
||||
dev = devvp->v_rdev;
|
||||
cred = td ? td->td_ucred : NOCRED;
|
||||
|
||||
vfs_object_create(devvp, td, cred);
|
||||
|
||||
ronly = (mp->mnt_flag & MNT_RDONLY) != 0;
|
||||
#if 0
|
||||
@ -595,13 +593,6 @@ ffs_mountfs(devvp, mp, td)
|
||||
DROP_GIANT();
|
||||
g_topology_lock();
|
||||
error = g_vfs_open(devvp, &cp, "ffs", ronly ? 0 : 1);
|
||||
#if 0
|
||||
/*
|
||||
* Note that it is optional that the backing device be VMIOed. This
|
||||
* increases the opportunity for metadata caching.
|
||||
*/
|
||||
vfs_object_create(devvp, td, cred);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If we are a root mount, drop the E flag so fsck can do its magic.
|
||||
|
Loading…
Reference in New Issue
Block a user