[Midnightbsd-cvs] src [9006] trunk/sys: remove negative name cache entry pointing to target name.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Sep 29 21:44:32 EDT 2016
Revision: 9006
http://svnweb.midnightbsd.org/src/?rev=9006
Author: laffer1
Date: 2016-09-29 21:44:32 -0400 (Thu, 29 Sep 2016)
Log Message:
-----------
remove negative name cache entry pointing to target name.
Modified Paths:
--------------
trunk/sys/fs/tmpfs/tmpfs_vnops.c
trunk/sys/ufs/ufs/ufs_vnops.c
Modified: trunk/sys/fs/tmpfs/tmpfs_vnops.c
===================================================================
--- trunk/sys/fs/tmpfs/tmpfs_vnops.c 2016-09-30 01:43:49 UTC (rev 9005)
+++ trunk/sys/fs/tmpfs/tmpfs_vnops.c 2016-09-30 01:44:32 UTC (rev 9006)
@@ -1306,6 +1306,7 @@
cache_purge(fvp);
if (tvp != NULL)
cache_purge(tvp);
+ cache_purge_negative(tdvp);
error = 0;
Modified: trunk/sys/ufs/ufs/ufs_vnops.c
===================================================================
--- trunk/sys/ufs/ufs/ufs_vnops.c 2016-09-30 01:43:49 UTC (rev 9005)
+++ trunk/sys/ufs/ufs/ufs_vnops.c 2016-09-30 01:44:32 UTC (rev 9006)
@@ -1562,6 +1562,7 @@
cache_purge(fvp);
if (tvp)
cache_purge(tvp);
+ cache_purge_negative(tdvp);
unlockout:
vput(fdvp);
More information about the Midnightbsd-cvs
mailing list