From owner-cvs-sys Mon Feb 17 22:46:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA00459 for cvs-sys-outgoing; Mon, 17 Feb 1997 22:46:45 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA00450; Mon, 17 Feb 1997 22:46:43 -0800 (PST) Date: Mon, 17 Feb 1997 22:46:43 -0800 (PST) From: Bruce Evans Message-Id: <199702180646.WAA00450@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_lookup.c 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. Revision Changes Path 1.15 +2 -1 src/sys/kern/vfs_lookup.c