cvs commit: src/sys/fs/devfs devfs_vnops.c

Konstantin Belousov kib at FreeBSD.org
Thu Jun 5 09:15:57 UTC 2008


kib         2008-06-05 09:15:56 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/devfs         devfs_vnops.c 
  Log:
  SVN rev 179554 on 2008-06-05 09:15:47Z by kib
  
  When devfs_allocv() committed to create new vnode, since de_vnode is NULL,
  the dm_lock is held while the newly allocated vnode is locked. Since no
  other threads may try to lock the new vnode yet, the LOR there cannot
  result in the deadlock.
  
  Shut down the witness warning to note this fact.
  
  Tested by:      pho
  Prodded by:     attilio
  
  Revision  Changes    Path
  1.162     +1 -1      src/sys/fs/devfs/devfs_vnops.c


More information about the cvs-src mailing list