]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 232401:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Mar 2012 18:29:28 +0000 (18:29 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 23 Mar 2012 18:29:28 +0000 (18:29 +0000)
commit081f7a686b76d8df6c92eab63e594e469fd00d25
treee4ae6f52219c3bfb2b838fccf161c137ae04898a
parent48b6e2c0a98196240d89697f8658e2532ba2dc68
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/8@233386 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/tmpfs/tmpfs_vnops.c
sys/ufs/ufs/ufs_vnops.c