summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/fdesc
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/miscfs/fdesc
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/miscfs/fdesc')
-rw-r--r--sys/miscfs/fdesc/fdesc_vfsops.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/miscfs/fdesc/fdesc_vfsops.c b/sys/miscfs/fdesc/fdesc_vfsops.c
index b5fe219..d813a41 100644
--- a/sys/miscfs/fdesc/fdesc_vfsops.c
+++ b/sys/miscfs/fdesc/fdesc_vfsops.c
@@ -35,7 +35,7 @@
*
* @(#)fdesc_vfsops.c 8.4 (Berkeley) 1/21/94
*
- * $Id: fdesc_vfsops.c,v 1.13 1997/10/12 20:24:39 phk Exp $
+ * $Id: fdesc_vfsops.c,v 1.14 1998/03/01 22:46:10 msmith Exp $
*/
/*
@@ -71,7 +71,6 @@ static int fdesc_sync __P((struct mount *mp, int waitfor,
struct ucred *cred, struct proc *p));
static int fdesc_vget __P((struct mount *mp, ino_t ino,
struct vnode **vpp));
-static int fdesc_vrele __P((struct mount *mp, struct vnode *vp));
static int fdesc_vptofh __P((struct vnode *vp, struct fid *fhp));
/*
@@ -254,8 +253,6 @@ fdesc_sync(mp, waitfor, cred, p)
size_t, struct proc *)))eopnotsupp)
#define fdesc_vget ((int (*) __P((struct mount *, ino_t, struct vnode **))) \
eopnotsupp)
-#define fdesc_vrele ((int (*) __P((struct mount *, struct vnode *))) \
- eopnotsupp)
#define fdesc_vptofh ((int (*) __P((struct vnode *, struct fid *)))eopnotsupp)
static struct vfsops fdesc_vfsops = {
@@ -267,7 +264,6 @@ static struct vfsops fdesc_vfsops = {
fdesc_statfs,
fdesc_sync,
fdesc_vget,
- fdesc_vrele,
fdesc_fhtovp,
fdesc_vptofh,
fdesc_init,
OpenPOWER on IntegriCloud