svn commit: r240829 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Sep 22 17:32:40 UTC 2012


Author: pjd
Date: Sat Sep 22 17:32:40 2012
New Revision: 240829
URL: http://svn.freebsd.org/changeset/base/240829

Log:
  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

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c	Sat Sep 22 15:38:29 2012	(r240828)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c	Sat Sep 22 17:32:40 2012	(r240829)
@@ -3931,6 +3931,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-all mailing list