freebsd-dev/sys/ufs
Jeff Roberson 2f05568aa8 - Check the XLOCK before inspecting v_data.
- Slightly rewrite the fsync loop to be more lock friendly.  We must
   acquire the vnode interlock before dropping the mnt lock.  We must
   also check XLOCK to prevent vclean() races.
 - Use LK_INTERLOCK in the vget() in ffs_sync to further prevent vclean()
   races.
 - Use a local variable to store the results of the nvp == TAILQ_NEXT
   test so that we do not access the vp after we've vrele()d it.
 - Add an XXX comment about UFS_UPDATE() not being protected by any lock
   here.  I suspect that it should need the VOP lock.
2003-10-05 07:16:45 +00:00
..
ffs - Check the XLOCK before inspecting v_data. 2003-10-05 07:16:45 +00:00
ufs - Don't cache_purge() in ufs_reclaim. vclean() does it for us so 2003-10-05 02:45:00 +00:00