summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-11-09 23:12:45 +0000
committerphk <phk@FreeBSD.org>2004-11-09 23:12:45 +0000
commit8fe1c8565771b852ee289cd3aa35ade92db714f7 (patch)
treeccc7b581c6b93ca6d9221740687cc3511cb5195d /sys/ufs
parent5cac5220465dd3c592edd4fbe3ccc443a89b1221 (diff)
downloadFreeBSD-src-8fe1c8565771b852ee289cd3aa35ade92db714f7.zip
FreeBSD-src-8fe1c8565771b852ee289cd3aa35ade92db714f7.tar.gz
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.
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 3a27b5a..7939231 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -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.
OpenPOWER on IntegriCloud