summaryrefslogtreecommitdiffstats
path: root/sys/fs/pseudofs/pseudofs_internal.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-10-01 04:26:33 +0000
committerdes <des@FreeBSD.org>2001-10-01 04:26:33 +0000
commitcb0f9ed022cc3b29b305648395413835d17e6615 (patch)
treef58cdf3578d4ae73c0946d97982556a73c238ba4 /sys/fs/pseudofs/pseudofs_internal.h
parente1b05f5687fbe0556cfab55517800169bc5da426 (diff)
downloadFreeBSD-src-cb0f9ed022cc3b29b305648395413835d17e6615.zip
FreeBSD-src-cb0f9ed022cc3b29b305648395413835d17e6615.tar.gz
[the previous commit to pseudofs_vncache.c got the wrong log message]
YA pseudofs megacommit, part 2: - Merge the pfs_vnode and pfs_vdata structures, and make the vnode cache a doubly-linked list. This eliminates the need to walk the list in pfs_vncache_free(). - Add an exit callout which revokes vnodes associated with the process that just exited. Since it needs to lock the cache when it does this, pfs_vncache_mutex needs MTX_RECURSE.
Diffstat (limited to 'sys/fs/pseudofs/pseudofs_internal.h')
-rw-r--r--sys/fs/pseudofs/pseudofs_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/pseudofs/pseudofs_internal.h b/sys/fs/pseudofs/pseudofs_internal.h
index 9307466..e730f8c 100644
--- a/sys/fs/pseudofs/pseudofs_internal.h
+++ b/sys/fs/pseudofs/pseudofs_internal.h
@@ -42,6 +42,8 @@ SYSCTL_DECL(_vfs_pfs);
struct pfs_vdata {
struct pfs_node *pvd_pn;
pid_t pvd_pid;
+ struct vnode *pvd_vnode;
+ struct pfs_vdata*pvd_prev, *pvd_next;
};
/*
OpenPOWER on IntegriCloud