freebsd-src/sys/fs
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
..
cd9660 Remove fifo.h. The only used function declaration from the header is 2012-03-11 12:19:58 +00:00
coda Replace the MNT_VNODE_FOREACH interface with MNT_VNODE_FOREACH_ALL. 2012-04-17 16:28:22 +00:00
deadfs Add function vop_rename_fail(9) that performs needed cleanup for locks 2010-04-02 14:03:01 +00:00
devfs Add "export" to devfs_opts[] and return EOPNOTSUPP if called with it. 2012-02-29 16:16:36 +00:00
ext2fs Replace the MNT_VNODE_FOREACH interface with MNT_VNODE_FOREACH_ALL. 2012-04-17 16:28:22 +00:00
fdescfs Use NULL instead of 0 2012-03-13 10:04:13 +00:00
fifofs Update comment. 2012-03-11 15:58:27 +00:00
hpfs Clean up style(9) nits 2012-03-04 09:38:20 +00:00
msdosfs Replace the MNT_VNODE_FOREACH interface with MNT_VNODE_FOREACH_ALL. 2012-04-17 16:28:22 +00:00
nfs Remove fifo.h. The only used function declaration from the header is 2012-03-11 12:19:58 +00:00
nfsclient Replace the MNT_VNODE_FOREACH interface with MNT_VNODE_FOREACH_ALL. 2012-04-17 16:28:22 +00:00
nfsserver The name caching changes of r230394 exposed an intermittent bug 2012-03-03 16:13:20 +00:00
ntfs Clean up style(9) nits 2012-03-04 09:38:20 +00:00
nullfs Use NULL instead of 0 2012-03-13 10:04:13 +00:00
nwfs Rename cache_lookup_times() to cache_lookup() and retire the old API and 2012-02-06 17:00:28 +00:00
portalfs Use NULL instead of 0 2012-03-13 10:04:13 +00:00
procfs Add procfs to jail-mountable filesystems. 2012-02-29 00:30:18 +00:00
pseudofs Apply inlined vn_vget_ino() algorithm for ".." lookup in pseudofs. 2012-03-05 11:38:02 +00:00
smbfs Rename cache_lookup_times() to cache_lookup() and retire the old API and 2012-02-06 17:00:28 +00:00
tmpfs Sync tmpfs_chflags() with the recent changes to UFS: 2012-04-16 18:10:34 +00:00
udf Remove fifo.h. The only used function declaration from the header is 2012-03-11 12:19:58 +00:00
unionfs Use NULL instead of 0 2012-03-13 10:04:13 +00:00