freebsd-dev/sys/fs/ext2fs
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
..
ext2_alloc.c Add support for ns timestamps and birthtime to the ext2/3 driver. 2012-03-08 21:06:05 +00:00
ext2_balloc.c Style cleanups by jh@. 2011-12-16 15:47:43 +00:00
ext2_bmap.c Style cleanups by jh@. 2011-12-16 15:47:43 +00:00
ext2_dinode.h Add support for ns timestamps and birthtime to the ext2/3 driver. 2012-03-08 21:06:05 +00:00
ext2_dir.h Various style fixes including using uint*_t instead of u_int*_t. 2011-04-27 18:15:34 +00:00
ext2_extern.h Bring in reallocblk to ext2fs. 2011-12-15 20:31:18 +00:00
ext2_inode_cnv.c Add support for ns timestamps and birthtime to the ext2/3 driver. 2012-03-08 21:06:05 +00:00
ext2_inode.c Style cleanups by jh@. 2011-12-16 15:47:43 +00:00
ext2_lookup.c Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
ext2_mount.h Some cosmetic fixes and remove a duplicate constant. 2011-02-01 18:30:52 +00:00
ext2_subr.c Bring in reallocblk to ext2fs. 2011-12-15 20:31:18 +00:00
ext2_vfsops.c Replace the MNT_VNODE_FOREACH interface with MNT_VNODE_FOREACH_ALL. 2012-04-17 16:28:22 +00:00
ext2_vnops.c Apply changes from r234103 to ext2fs: 2012-04-13 05:48:31 +00:00
ext2fs.h Add support for ns timestamps and birthtime to the ext2/3 driver. 2012-03-08 21:06:05 +00:00
fs.h Style cleanups by jh@. 2011-12-16 15:47:43 +00:00
inode.h Add support for ns timestamps and birthtime to the ext2/3 driver. 2012-03-08 21:06:05 +00:00