summaryrefslogtreecommitdiffstats
path: root/sys/isofs
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/isofs
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/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index eab93af..b5e9915 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95
- * $Id: cd9660_vfsops.c,v 1.37 1998/04/20 03:57:27 julian Exp $
+ * $Id: cd9660_vfsops.c,v 1.38 1998/04/20 23:18:46 julian Exp $
*/
#include <sys/param.h>
@@ -73,7 +73,6 @@ static int cd9660_statfs __P((struct mount *, struct statfs *, struct proc *));
static int cd9660_sync __P((struct mount *, int, struct ucred *,
struct proc *));
static int cd9660_vget __P((struct mount *, ino_t, struct vnode **));
-static int cd9660_vrele __P((struct mount *, struct vnode *));
static int cd9660_fhtovp __P((struct mount *, struct fid *, struct sockaddr *,
struct vnode **, int *, struct ucred **));
static int cd9660_vptofh __P((struct vnode *, struct fid *));
@@ -87,7 +86,6 @@ static struct vfsops cd9660_vfsops = {
cd9660_statfs,
cd9660_sync,
cd9660_vget,
- cd9660_vrele,
cd9660_fhtovp,
cd9660_vptofh,
cd9660_init
@@ -679,19 +677,6 @@ cd9660_vget(mp, ino, vpp)
(struct iso_directory_record *)0));
}
-/*
- * Complement to all vpp returning ops.
- * XXX - initially only to get rid of WILLRELE.
- */
-/* ARGSUSED */
-static int
-cd9660_vrele(mp, vp)
- struct mount *mp;
- struct vnode *vp;
-{
- return (EOPNOTSUPP);
-}
-
int
cd9660_vget_internal(mp, ino, vpp, relocated, isodir)
struct mount *mp;
OpenPOWER on IntegriCloud