]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 232401:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Mar 2012 18:29:09 +0000 (18:29 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Mar 2012 18:29:09 +0000 (18:29 +0000)
commit9a112545468fea9cd1d9ea89b035e2eaa84117a8
tree198e455435d6ff7b8441773e649197bcb1306355
parentadac63a7413ebbc6423f2938973d3c118c550322
MFC 232401:
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.

git-svn-id: svn://svn.freebsd.org/base/stable/9@233385 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/tmpfs/tmpfs_vnops.c
sys/ufs/ufs/ufs_vnops.c