From owner-cvs-all@FreeBSD.ORG Mon May 2 02:07:56 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 1813716A4CE; Mon, 2 May 2005 02:07:56 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E201B43D45; Mon, 2 May 2005 02:07:55 +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 j4227t9F094859; Mon, 2 May 2005 02:07:55 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4227tEj094858; Mon, 2 May 2005 02:07:55 GMT (envelope-from csjp) Message-Id: <200505020207.j4227tEj094858@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Mon, 2 May 2005 02:07:55 +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/kern vfs_subr.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: Mon, 02 May 2005 02:07:56 -0000 csjp 2005-05-02 02:07:55 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: 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. Discussed with: rwatson, peter MFC after: 1 week Revision Changes Path 1.622 +2 -4 src/sys/kern/vfs_subr.c