Author: avg
Date: Tue Feb 18 13:48:50 2014
New Revision: 262154
URL: http://svnweb.freebsd.org/changeset/base/262154

Log:
  MFC r240829: remove cache entries associated with the source and the target 
of rename()
  
  MFC slacker:  pjd

Modified:
  stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Tue Feb 
18 05:58:36 2014        (r262153)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Tue Feb 
18 13:48:50 2014        (r262154)
@@ -4025,6 +4025,9 @@ top:
                if (error == 0) {
                        cache_purge(sdvp);
                        cache_purge(tdvp);
+                       cache_purge(ZTOV(szp));
+                       if (tzp)
+                               cache_purge(ZTOV(tzp));
                }
 #endif
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to