cvs commit: src/sys/ufs/ufs ufs_vnops.c

John Baldwin jhb at FreeBSD.org
Tue Sep 16 16:15:49 UTC 2008


jhb         2008-09-16 16:15:38 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ufs          ufs_vnops.c 
  Log:
  SVN rev 183078 on 2008-09-16 16:15:38Z by jhb
  
  vdropl() drops the vnode interlock.  Thus, the code in the QUOTA case that
  upgrades the vnode lock if it is share locked was dropping the interlock
  before actually checking VI_DOOMED.  Fix this by do the vdropl() after the
  check and relying on it to drop the vnode interlock.
  
  Reported by:    pho
  Reviewed by:    kib
  MFC after:      1 week
  
  Revision  Changes    Path
  1.302     +2 -3      src/sys/ufs/ufs/ufs_vnops.c


More information about the cvs-src mailing list