summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-03-17 15:11:37 +0000
committerkib <kib@FreeBSD.org>2013-03-17 15:11:37 +0000
commit1b20f7cc1854e8167f6e8ae75c8636919e7b176e (patch)
treeac3c0909c299d5435a2df9f5b1d45d88264d8fc8 /sys/ufs
parent338f6e587c1344da33c4c32894447d1d4257e330 (diff)
downloadFreeBSD-src-1b20f7cc1854e8167f6e8ae75c8636919e7b176e.zip
FreeBSD-src-1b20f7cc1854e8167f6e8ae75c8636919e7b176e.tar.gz
Remove negative name cache entry pointing to the target name, which
could be instantiated while tdvp was unlocked. Reported by: Rick Miller <vmiller at hostileadmin com> Tested by: pho MFC after: 1 week
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_vnops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c
index f69b1f9..574c59c 100644
--- a/sys/ufs/ufs/ufs_vnops.c
+++ b/sys/ufs/ufs/ufs_vnops.c
@@ -1554,6 +1554,7 @@ relock:
cache_purge(fvp);
if (tvp)
cache_purge(tvp);
+ cache_purge_negative(tdvp);
unlockout:
vput(fdvp);
OpenPOWER on IntegriCloud