summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs/procfs_vfsops.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-05-06 05:29:41 +0000
committermsmith <msmith@FreeBSD.org>1998-05-06 05:29:41 +0000
commitc645da3999c0063d872dc79df900019260ab94ee (patch)
treeb0a566a98cecb4b302b164374e384bef81e6c3e0 /sys/fs/procfs/procfs_vfsops.c
parent9fcbed6a43dfce2fa8db10c333549f75ccc532f0 (diff)
downloadFreeBSD-src-c645da3999c0063d872dc79df900019260ab94ee.zip
FreeBSD-src-c645da3999c0063d872dc79df900019260ab94ee.tar.gz
As described by the submitter:
Reverse the VFS_VRELE patch. Reference counting of vnodes does not need to be done per-fs. I noticed this while fixing vfs layering violations. Doing reference counting in generic code is also the preference cited by John Heidemann in recent discussions with him. The implementation of alternative vnode management per-fs is still a valid requirement for some filesystems but will be revisited sometime later, most likely using a different framework. Submitted by: Michael Hancock <michaelh@cet.co.jp>
Diffstat (limited to 'sys/fs/procfs/procfs_vfsops.c')
-rw-r--r--sys/fs/procfs/procfs_vfsops.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/fs/procfs/procfs_vfsops.c b/sys/fs/procfs/procfs_vfsops.c
index fddc277..f75de09 100644
--- a/sys/fs/procfs/procfs_vfsops.c
+++ b/sys/fs/procfs/procfs_vfsops.c
@@ -36,7 +36,7 @@
*
* @(#)procfs_vfsops.c 8.7 (Berkeley) 5/10/95
*
- * $Id: procfs_vfsops.c,v 1.19 1997/12/30 08:46:44 bde Exp $
+ * $Id: procfs_vfsops.c,v 1.20 1998/03/01 22:46:22 msmith Exp $
*/
/*
@@ -193,8 +193,6 @@ procfs_init(vfsp)
size_t, struct proc *)))eopnotsupp)
#define procfs_vget ((int (*) __P((struct mount *, ino_t, struct vnode **))) \
eopnotsupp)
-#define procfs_vrele ((int (*) __P((struct mount *, struct vnode *))) \
- eopnotsupp)
#define procfs_vptofh ((int (*) __P((struct vnode *, struct fid *)))einval)
static struct vfsops procfs_vfsops = {
@@ -206,7 +204,6 @@ static struct vfsops procfs_vfsops = {
procfs_statfs,
procfs_sync,
procfs_vget,
- procfs_vrele,
procfs_fhtovp,
procfs_vptofh,
procfs_init,
OpenPOWER on IntegriCloud