cvs commit: src/sys/fs/coda coda_vnops.c

Robert Watson rwatson at FreeBSD.org
Sat Jan 19 07:39:11 PST 2008


rwatson     2008-01-19 15:39:10 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/coda          coda_vnops.c 
  Log:
  Don't acquire an additional vnode reference to a vnode when it is opened
  and then release it when it is closed: we rely on the caller to keep the
  vnode around with a valid reference.  This avoids vrele() destroying the
  vnode vop_close() is being called from during a call to vop_close(), and
  a crash due to lockmgr recursing the vnode lock when a Coda unmount
  occurs.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.82      +0 -5      src/sys/fs/coda/coda_vnops.c


More information about the cvs-src mailing list