diff options
author | msmith <msmith@FreeBSD.org> | 1998-05-06 05:29:41 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-05-06 05:29:41 +0000 |
commit | c645da3999c0063d872dc79df900019260ab94ee (patch) | |
tree | b0a566a98cecb4b302b164374e384bef81e6c3e0 /sys/fs/portalfs | |
parent | 9fcbed6a43dfce2fa8db10c333549f75ccc532f0 (diff) | |
download | FreeBSD-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/portalfs')
-rw-r--r-- | sys/fs/portalfs/portal_vfsops.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/fs/portalfs/portal_vfsops.c b/sys/fs/portalfs/portal_vfsops.c index 2fa81a9..eb86ef4 100644 --- a/sys/fs/portalfs/portal_vfsops.c +++ b/sys/fs/portalfs/portal_vfsops.c @@ -35,7 +35,7 @@ * * @(#)portal_vfsops.c 8.11 (Berkeley) 5/14/95 * - * $Id: portal_vfsops.c,v 1.19 1998/01/01 08:28:11 bde Exp $ + * $Id: portal_vfsops.c,v 1.20 1998/03/01 22:46:20 msmith Exp $ */ /* @@ -273,8 +273,6 @@ portal_statfs(mp, sbp, p) size_t, struct proc *)))eopnotsupp) #define portal_vget ((int (*) __P((struct mount *, ino_t, struct vnode **))) \ eopnotsupp) -#define portal_vrele ((int (*) __P((struct mount *, struct vnode *))) \ - eopnotsupp) #define portal_vptofh ((int (*) __P((struct vnode *, struct fid *)))eopnotsupp) static struct vfsops portal_vfsops = { @@ -286,7 +284,6 @@ static struct vfsops portal_vfsops = { portal_statfs, portal_sync, portal_vget, - portal_vrele, portal_fhtovp, portal_vptofh, portal_init, |