cvs commit: src/sys/kern vfs_subr.c

Don Lewis truckman at FreeBSD.org
Fri May 16 12:46:53 PDT 2003


truckman    2003/05/16 12:46:52 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
  Detect that a vnode has been reclaimed while vflush() was waiting to lock
  the vnode and restart the loop.  Vflush() is vulnerable since it does not
  hold a reference to the vnode and it holds no other locks while waiting
  for the vnode lock.  The vnode will no longer be on the list when the
  loop is restarted.
  
  Approved by:    re (rwatson)
  
  Revision  Changes    Path
  1.449     +11 -0     src/sys/kern/vfs_subr.c


More information about the cvs-all mailing list