freebsd-skq/sys/cddl/contrib/opensolaris
pjd f28297d01f Reimplement traverse() helper function:
1. Pass locking flags to VFS_ROOT().
2. Check v_mountedhere while the vnode is locked.
3. Always return locked vnode on success.

Change 1 fixes problem reported by Stephen M. Rumble - after
zfs_vfsops.c,1.9 change, zfs_root() no longer locks the vnode
unconditionally and traverse() didn't pass right lock type to
VFS_ROOT(). The result was that kernel paniced when .zfs/ directory
was accessed via NFS.
2007-06-04 11:31:46 +00:00
..
common MFp4: Bring back comments. 2007-04-12 23:14:25 +00:00
uts/common Reimplement traverse() helper function: 2007-06-04 11:31:46 +00:00