Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2008 09:15:47 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/devfs devfs_vnops.c
Message-ID:  <200806050915.m559FuGG078928@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806050915.m559FuGG078928>