From owner-cvs-all@FreeBSD.ORG Wed Mar 30 03:01:37 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 D42A016A4CE; Wed, 30 Mar 2005 03:01:37 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37E2843D49; Wed, 30 Mar 2005 03:01:37 +0000 (GMT) (envelope-from das@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 j2U31b2V093061; Wed, 30 Mar 2005 03:01:37 GMT (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2U31bGG093060; Wed, 30 Mar 2005 03:01:37 GMT (envelope-from das) Message-Id: <200503300301.j2U31bGG093060@repoman.freebsd.org> From: David Schultz Date: Wed, 30 Mar 2005 03:01:37 +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_cache.c 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: Wed, 30 Mar 2005 03:01:38 -0000 das 2005-03-30 03:01:37 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c vfs_subr.c Log: Eliminate v_id and v_ddid. The name cache now holds references to vnodes whose names it caches, so we no longer need a `generation number' to tell us if a referenced vnode is invalid. Replace the use of the parent's v_id in the hash function with the address of the parent vnode. Tested by: Peter Holm Glanced at by: jeff, phk Revision Changes Path 1.98 +10 -36 src/sys/kern/vfs_cache.c 1.606 +1 -2 src/sys/kern/vfs_subr.c