freebsd-nq/sys/gnu/ext2fs
Mike Smith 34bdbbd0de The intent is to get rid of WILLRELE in vnode_if.src by making
a complement to all ops that return a vpp, VFS_VRELE.  This is
initially only for file systems that implement the following ops
that do a WILLRELE:

	vop_create, vop_whiteout, vop_mknod, vop_remove, vop_link,
	vop_rename, vop_mkdir, vop_rmdir, vop_symlink

This is initial DNA that doesn't do anything yet.  VFS_VRELE is
implemented but not called.

A default vfs_vrele was created for fs implementations that use the
standard vnode management routines.

VFS_VRELE implementations were made for the following file systems:

Standard (vfs_vrele)
	ffs mfs nfs msdosfs devfs ext2fs

Custom
	union umapfs

Just EOPNOTSUPP
	fdesc procfs kernfs portal cd9660

These implementations may change as VOP changes are implemented.

In the next phase, in the vop implementations calls to vrele and the vrele
part of vput will be moved to the top layer vfs_vnops and made visible
to all layers.  vput will be replaced by unlock in these cases.  Unlocking
will still be done in the per fs layer but the refcount decrement will be
triggered at the top because it doesn't hurt to hold a vnode reference a
little longer.  This will have minimal impact on the structure of the
existing code.

This will only be done for vnode arguments that are released by the various
fs vop implementations.

Wider use of VFS_VRELE will likely require restructuring of the code.

Reviewed by:	phk, dyson, terry et. al.
Submitted by:	Michael Hancock <michaelh@cet.co.jp>
1998-03-01 22:46:53 +00:00
..
COPYRIGHT.INFO
ext2_alloc.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
ext2_balloc.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
ext2_bmap.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
ext2_extern.h Fixed configuration and linkage of ext2_checkoverlap(). 1998-02-13 00:28:40 +00:00
ext2_fs_i.h
ext2_fs_sb.h Removed __FreeBSD__ ifdefs. 1997-12-02 10:39:42 +00:00
ext2_fs.h Removed __FreeBSD__ ifdefs. 1997-12-02 10:39:42 +00:00
ext2_ihash.c Staticize. 1998-02-09 06:11:36 +00:00
ext2_inode_cnv.c Don't include <sys/lock.h> in headers when only `struct simplelock' is 1997-12-05 19:55:52 +00:00
ext2_inode.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
ext2_linux_balloc.c
ext2_linux_ialloc.c Removed __FreeBSD__ ifdefs. 1997-12-02 10:39:42 +00:00
ext2_lookup.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
ext2_mount.h Retire LFS. 1998-01-30 11:34:06 +00:00
ext2_readwrite.c Removed __FreeBSD__ ifdefs. 1997-12-02 10:39:42 +00:00
ext2_subr.c Fixed configuration and linkage of ext2_checkoverlap(). 1998-02-13 00:28:40 +00:00
ext2_vfsops.c The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
ext2_vnops.c Style nits and staticism with the previous commit. 1998-03-01 01:37:38 +00:00
fs.h
i386-bitops.h
inode.h Retire LFS. 1998-01-30 11:34:06 +00:00