From owner-svn-src-all@FreeBSD.ORG Sun Mar 24 07:41:37 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C231346F; Sun, 24 Mar 2013 07:41:37 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id B4C54F00; Sun, 24 Mar 2013 07:41:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2O7fbbs079082; Sun, 24 Mar 2013 07:41:37 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2O7fanl079080; Sun, 24 Mar 2013 07:41:36 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201303240741.r2O7fanl079080@svn.freebsd.org> From: Konstantin Belousov Date: Sun, 24 Mar 2013 07:41:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r248678 - in stable/9/sys: fs/tmpfs ufs/ufs X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2013 07:41:37 -0000 Author: kib Date: Sun Mar 24 07:41:36 2013 New Revision: 248678 URL: http://svnweb.freebsd.org/changeset/base/248678 Log: MFC r248422: Remove negative name cache entry pointing to the target name, which could be instantiated while tdvp was unlocked. Modified: stable/9/sys/fs/tmpfs/tmpfs_vnops.c stable/9/sys/ufs/ufs/ufs_vnops.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/fs/ (props changed) Modified: stable/9/sys/fs/tmpfs/tmpfs_vnops.c ============================================================================== --- stable/9/sys/fs/tmpfs/tmpfs_vnops.c Sun Mar 24 04:42:56 2013 (r248677) +++ stable/9/sys/fs/tmpfs/tmpfs_vnops.c Sun Mar 24 07:41:36 2013 (r248678) @@ -1306,6 +1306,7 @@ tmpfs_rename(struct vop_rename_args *v) cache_purge(fvp); if (tvp != NULL) cache_purge(tvp); + cache_purge_negative(tdvp); error = 0; Modified: stable/9/sys/ufs/ufs/ufs_vnops.c ============================================================================== --- stable/9/sys/ufs/ufs/ufs_vnops.c Sun Mar 24 04:42:56 2013 (r248677) +++ stable/9/sys/ufs/ufs/ufs_vnops.c Sun Mar 24 07:41:36 2013 (r248678) @@ -1562,6 +1562,7 @@ relock: cache_purge(fvp); if (tvp) cache_purge(tvp); + cache_purge_negative(tdvp); unlockout: vput(fdvp);