From owner-cvs-sys Mon Feb 17 23:09:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA02767 for cvs-sys-outgoing; Mon, 17 Feb 1997 23:09:31 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA02742; Mon, 17 Feb 1997 23:09:25 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id XAA04401; Mon, 17 Feb 1997 23:10:41 -0800 (PST) Message-Id: <199702180710.XAA04401@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: Bruce Evans cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/kern vfs_lookup.c In-reply-to: Your message of "Mon, 17 Feb 1997 22:46:43 PST." <199702180646.WAA00450@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Mon, 17 Feb 1997 23:10:41 -0800 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >bde 97/02/17 22:46:42 > > Modified: sys/kern vfs_lookup.c > Log: > Fixed namei caching for LOOKUPs. It was broken for lstat() and olstat(). > Successful lstat()s purged an existing entry as well as not caching the > result. > > This bug was introduced in Lite1 by setting the LOCKPARENT flag for > [o]lstat() in order to support the inherit-attributes-from-parent- > directory misfeature for symlinks. LOCKPARENT was previously only set > for CREATEs and DELETEs. It is now set for LOOKUPs, but only for > [o]lstat(), so the problem wasn't very noticeable. We need to revert symlinks back to their traditional behavior (behave like they have an inode), too. I definately want to see this done for 3.0, and I wouldn't mind seeing it done prior to 2.2. NetBSD changed it back months ago. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project