From 1b20f7cc1854e8167f6e8ae75c8636919e7b176e Mon Sep 17 00:00:00 2001 From: kib Date: Sun, 17 Mar 2013 15:11:37 +0000 Subject: Remove negative name cache entry pointing to the target name, which could be instantiated while tdvp was unlocked. Reported by: Rick Miller Tested by: pho MFC after: 1 week --- sys/fs/tmpfs/tmpfs_vnops.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/fs/tmpfs') diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index 54c95ff..156fd43 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -1297,6 +1297,7 @@ tmpfs_rename(struct vop_rename_args *v) cache_purge(fvp); if (tvp != NULL) cache_purge(tvp); + cache_purge_negative(tdvp); error = 0; -- cgit v1.1