cvs commit: src/sys/kern vfs_lookup.c

Alexander Kabaev kan at FreeBSD.org
Tue Aug 30 16:12:04 GMT 2005


kan         2005-08-30 16:12:03 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             vfs_lookup.c 
  Log:
  MFC r1.81:
  Do not keep parent directory locked while calling VFS_ROOT to
  traverse mount points in lookup(). The lock can be dropped safely
  around VFS_ROOT because LOCKPARENT semantics with child and parent
  vnodes coming from different FSes does not really have any meaningful
  use and we do not really care about parent state after we relock it.
  This prevents easily triggered deadlock on systems using automounter
  daemon.
  
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.80.2.1  +2 -0      src/sys/kern/vfs_lookup.c


More information about the cvs-src mailing list