svn commit: r262155 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Andriy Gapon
avg at FreeBSD.org
Tue Feb 18 13:49:04 UTC 2014
Author: avg
Date: Tue Feb 18 13:49:03 2014
New Revision: 262155
URL: http://svnweb.freebsd.org/changeset/base/262155
Log:
MFC r240829: remove cache entries associated with the source and the
target of rename()
Modified:
stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/cddl/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
==============================================================================
--- stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Tue Feb 18 13:48:50 2014 (r262154)
+++ stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Tue Feb 18 13:49:03 2014 (r262155)
@@ -4049,6 +4049,9 @@ top:
if (error == 0) {
cache_purge(sdvp);
cache_purge(tdvp);
+ cache_purge(ZTOV(szp));
+ if (tzp)
+ cache_purge(ZTOV(tzp));
}
#endif
}
More information about the svn-src-stable
mailing list