]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Similar to the fixes in 226967 and 226987, purge any name cache entries
authorjhb <jhb@FreeBSD.org>
Fri, 2 Mar 2012 18:55:19 +0000 (18:55 +0000)
committerjhb <jhb@FreeBSD.org>
Fri, 2 Mar 2012 18:55:19 +0000 (18:55 +0000)
commit7bf627fd71f760e5b8625b518deb7bf4f20a4457
tree283357f5fff10643b6db17b4a253ea7b03aef481
parent867957a35936d68f21e0b415c035d218626e5372
Similar to the fixes in 226967 and 226987, purge any name cache entries
associated with the previous vnode (if any) associated with the target of
a rename().  Otherwise, a lookup of the target pathname concurrent with a
rename() could re-add a name cache entry after the namei(RENAME) lookup
in kern_renameat() had purged the target pathname.

MFC after: 2 weeks
sys/fs/tmpfs/tmpfs_vnops.c
sys/ufs/ufs/ufs_vnops.c