freebsd-dev/sys/fs/msdosfs
Kirk McKusick 71469bb38f Replace the MNT_VNODE_FOREACH interface with MNT_VNODE_FOREACH_ALL.
The primary changes are that the user of the interface no longer
needs to manage the mount-mutex locking and that the vnode that
is returned has its mutex locked (thus avoiding the need to check
to see if its is DOOMED or other possible end of life senarios).

To minimize compatibility issues for third-party developers, the
old MNT_VNODE_FOREACH interface will remain available so that this
change can be MFC'ed to 9. Following the MFC to 9, MNT_VNODE_FOREACH
will be removed in head.

The reason for this update is to prepare for the addition of the
MNT_VNODE_FOREACH_ACTIVE interface that will loop over just the
active vnodes associated with a mount point (typically less than
1% of the vnodes associated with the mount point).

Reviewed by: kib
Tested by:   Peter Holm
MFC after:   2 weeks
2012-04-17 16:28:22 +00:00
..
bootsect.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
bpb.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
denode.h Remove unused macros. 2010-02-13 11:34:25 +00:00
direntry.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
fat.h
msdosfs_conv.c Discarding local array based on return values 2011-12-22 06:31:29 +00:00
msdosfs_denode.c Use DOINGASYNC() to test for async allowance, to honor VFS syncing requests. 2012-02-22 13:01:17 +00:00
msdosfs_fat.c Put all the messages from msdosfs under the MSDOSFS_DEBUG ifdef. 2011-11-22 13:30:36 +00:00
msdosfs_fileno.c Use pm_fatlock to protect per-filesystem rb tree used to allocate fileno 2010-02-28 17:16:43 +00:00
msdosfs_iconv.c Remove unused include(s). 2007-08-07 02:08:06 +00:00
msdosfs_lookup.c Use DOINGASYNC() to test for async allowance, to honor VFS syncing requests. 2012-02-22 13:01:17 +00:00
msdosfs_vfsops.c Replace the MNT_VNODE_FOREACH interface with MNT_VNODE_FOREACH_ALL. 2012-04-17 16:28:22 +00:00
msdosfs_vnops.c Use DOINGASYNC() to test for async allowance, to honor VFS syncing requests. 2012-02-22 13:01:17 +00:00
msdosfsmount.h This update changes the mnt_flag field in the mount structure from 2011-07-24 17:43:09 +00:00