freebsd-dev/sys/msdosfs
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
..
bootsect.h Update MSDOSFS code using NetBSD's msdosfs as a guide to support 1998-02-18 09:28:47 +00:00
bpb.h Update MSDOSFS code using NetBSD's msdosfs as a guide to support 1998-02-18 09:28:47 +00:00
denode.h Update MSDOSFS code using NetBSD's msdosfs as a guide to support 1998-02-18 09:28:47 +00:00
direntry.h Fixes for some bugs in the VFAT/FAT32 support: 1998-02-26 06:45:46 +00:00
fat.h Update MSDOSFS code using NetBSD's msdosfs as a guide to support 1998-02-18 09:28:47 +00:00
msdosfs_conv.c Fix a problem with the conversion of Unix filenames into the VFAT 1998-02-27 12:22:22 +00:00
msdosfs_denode.c Update MSDOSFS code using NetBSD's msdosfs as a guide to support 1998-02-18 09:28:47 +00:00
msdosfs_fat.c Removed unused #includes. 1998-02-20 13:11:54 +00:00
msdosfs_lookup.c Fixes for some bugs in the VFAT/FAT32 support: 1998-02-26 06:45:46 +00:00
msdosfs_vfsops.c The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
msdosfs_vnops.c Fix mmap() on msdosfs. In the words of the submitter: 1998-03-01 21:26:09 +00:00
msdosfsmount.h Implement loadable DOS<->local conversion tables for DOS names 1998-02-23 16:44:37 +00:00