kib         2006-09-18 15:35:22 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_mount.c 
  Log:
  Fix the race while waiting for coveredvp lock during unmount. The vnode may
  be recycled during the sleep, wrap the vn_lock with vhold/vdrop.
  Check that coveredvp still points to the same mp after sleep (needed
  because sleep dropped Giant).
  Move check for user rights for unmount after coveredvp lock is obtained.
  
  Tested by:      Peter Holm
  Reviewed by:    tegge
  Approved by:    kan (mentor)
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.232     +26 -12    src/sys/kern/vfs_mount.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to