As in r226967, r226987 and r232401 changes to UFS and TMPFS remove cache
entries associated with the source and the target of rename(). MFC after: 1 week
This commit is contained in:
parent
340076f0f6
commit
3c5a057574
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240829
@ -3931,6 +3931,9 @@ zfs_rename(vnode_t *sdvp, char *snm, vnode_t *tdvp, char *tnm, cred_t *cr,
|
||||
if (error == 0) {
|
||||
cache_purge(sdvp);
|
||||
cache_purge(tdvp);
|
||||
cache_purge(ZTOV(szp));
|
||||
if (tzp)
|
||||
cache_purge(ZTOV(tzp));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user