From owner-cvs-all@FreeBSD.ORG Mon Jan 24 09:57:35 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9FB416A4CE; Mon, 24 Jan 2005 09:57:35 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C5343D49; Mon, 24 Jan 2005 09:57:35 +0000 (GMT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0O9vZYs029237; Mon, 24 Jan 2005 09:57:35 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0O9vZgn029236; Mon, 24 Jan 2005 09:57:35 GMT (envelope-from jeff) Message-Id: <200501240957.j0O9vZgn029236@repoman.freebsd.org> From: Jeff Roberson Date: Mon, 24 Jan 2005 09:57:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys namei.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 09:57:35 -0000 jeff 2005-01-24 09:57:35 UTC FreeBSD src repository Modified files: sys/sys namei.h Log: - Add two new flags to the nd structure. MPSAFE indicates that the caller may not be holding Giant, and namei() should acquire it as necessary. HASGIANT is used to indicate when namei() is returning with a reference to a vnode that requires giant, and giant is locked. - Add the macro NDHASGIANT() which can be used in conjunction with VFS_UNLOCK_GIANT() in callers who have marked the nd with MPSAFE. Sponsored By: Isilon Systems, Inc. Revision Changes Path 1.43 +20 -16 src/sys/sys/namei.h