Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2012 17:32:40 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240829 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201209221732.q8MHWecd009503@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209221732.q8MHWecd009503>