From owner-cvs-all@FreeBSD.ORG Wed Feb 22 06:15:13 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 235B116A420; Wed, 22 Feb 2006 06:15:13 +0000 (GMT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2D4343D48; Wed, 22 Feb 2006 06:15:12 +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 k1M6FCCA014805; Wed, 22 Feb 2006 06:15:12 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1M6FCJu014804; Wed, 22 Feb 2006 06:15:12 GMT (envelope-from jeff) Message-Id: <200602220615.k1M6FCJu014804@repoman.freebsd.org> From: Jeff Roberson Date: Wed, 22 Feb 2006 06:15:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/nullfs null_subr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 22 Feb 2006 06:15:13 -0000 jeff 2006-02-22 06:15:12 UTC FreeBSD src repository Modified files: sys/fs/nullfs null_subr.c Log: - Assert that the lowervp is locked in null_hashget(). - Simplify the logic dealing with recycled vnodes in null_hashget() and null_hashins(). Since we hold the lower node locked in both cases the null node can not be undergoing recycling unless reclaim somehow called null_nodeget(). The logic that was in place was not safe and was essentially dead code. MFC After: 1 week Revision Changes Path 1.50 +21 -26 src/sys/fs/nullfs/null_subr.c