cvs commit: src/sys/kern vfs_cache.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri May 25 22:23:38 UTC 2007


pjd         2007-05-25 22:23:38 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_cache.c 
  Log:
  To avoid a deadlock when handling .. directory during a lookup, we unlock
  parent vnode and relock it after locking child vnode. The problem was that
  we always relock it exclusively, even when it was share-locked.
  
  Discussed with: jeff
  
  Revision  Changes    Path
  1.112     +6 -3      src/sys/kern/vfs_cache.c


More information about the cvs-src mailing list