From owner-cvs-src@FreeBSD.ORG Fri May 20 04:16:48 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D653C16A4CE; Fri, 20 May 2005 04:16:48 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81A9643D81; Fri, 20 May 2005 04:16:48 +0000 (GMT) (envelope-from csjp@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 j4K4Gm9n000545; Fri, 20 May 2005 04:16:48 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4K4GmTv000544; Fri, 20 May 2005 04:16:48 GMT (envelope-from csjp) Message-Id: <200505200416.j4K4GmTv000544@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Fri, 20 May 2005 04:16:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/kern vfs_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 04:16:49 -0000 csjp 2005-05-20 04:16:48 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/kern vfs_subr.c Log: MFC revision 1.622 date: 2005/05/02 02:07:55; author: csjp; state: Exp; lines: +2 -4 Since it is not possible for curthread to be NULL in this context, drop the check+initialization for a straight initialization. Also assert that curthread will never be NULL just to be sure. Revision Changes Path 1.522.2.6 +2 -4 src/sys/kern/vfs_subr.c