Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 2004 18:39:07 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_lookup.c
Message-ID:  <200408041839.i74Id7u9034499@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004-08-04 18:39:07 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_lookup.c 
  Log:
  Assert Giant in namei().  Bugs have been reported in which, following
  a sleep() call waking up in namei(), a later assertion triggers that
  Giant is not held.  By asserting Giant at the start of namei(), we can
  know that if that assertion triggers, Giant is lost during the call to
  namei(), and not before.
  
  Revision  Changes    Path
  1.64      +2 -0      src/sys/kern/vfs_lookup.c



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