From owner-cvs-all@FreeBSD.ORG Sun Dec 5 22:53:18 2004 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 794FC16A516; Sun, 5 Dec 2004 22:53:18 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 559A543D1F; Sun, 5 Dec 2004 22:53:18 +0000 (GMT) (envelope-from rwatson@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 iB5MrIn1023528; Sun, 5 Dec 2004 22:53:18 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB5MrHaV023527; Sun, 5 Dec 2004 22:53:17 GMT (envelope-from rwatson) Message-Id: <200412052253.iB5MrHaV023527@repoman.freebsd.org> From: Robert Watson Date: Sun, 5 Dec 2004 22:53:17 +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/nfsclient nfs_vfsops.c 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: Sun, 05 Dec 2004 22:53:18 -0000 rwatson 2004-12-05 22:53:17 UTC FreeBSD src repository Modified files: sys/nfsclient nfs_vfsops.c Log: Convert GIANT_REQUIRED; in nfs_mountroot() to NET_ASSERT_GIANT(), and annotate that nfs_mountroot assumes it is OK to step on the values in the global NFSv3 diskless structure as the mountroot function is called during a serialized part of the boot, before any other NFS client activity occurs. MFC after: 2 weeks Revision Changes Path 1.164 +6 -1 src/sys/nfsclient/nfs_vfsops.c