From owner-cvs-src@FreeBSD.ORG Fri Nov 14 00:23:14 2003 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 2BE4D16A4CE; Fri, 14 Nov 2003 00:23:14 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B275143FBF; Fri, 14 Nov 2003 00:23:13 -0800 (PST) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAE8NDXJ005017; Fri, 14 Nov 2003 00:23:13 -0800 (PST) (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAE8NDAb005015; Fri, 14 Nov 2003 00:23:13 -0800 (PST) (envelope-from das) Message-Id: <200311140823.hAE8NDAb005015@repoman.freebsd.org> From: David Schultz Date: Fri, 14 Nov 2003 00:23:13 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/unionfs union_vnops.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, 14 Nov 2003 08:23:14 -0000 das 2003/11/14 00:23:13 PST FreeBSD src repository Modified files: sys/fs/unionfs union_vnops.c Log: - A sanity check in unionfs verifies that lookups of '.' return the vnode of the parent. However, this check should not be performed if the lookup failed. This change should fix "union_lookup returning . not same as startdir" panics people were seeing. The bug was introduced by an incomplete import of a NetBSD delta in rev 1.38. - Move the aforementioned check out from DIAGNOSTIC. Performance is the least of our unionfs worries. - Minor reorganization. PR: 53004 MFC after: 1 week Revision Changes Path 1.103 +21 -27 src/sys/fs/unionfs/union_vnops.c