Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2011 15:10:01 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r227498 - stable/8/sys/fs/tmpfs
Message-ID:  <201111141510.pAEFA1O7054423@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Mon Nov 14 15:10:01 2011
New Revision: 227498
URL: http://svn.freebsd.org/changeset/base/227498

Log:
  MFC: r226987
  
  Added missing cache purge of from argument for rename().

Modified:
  stable/8/sys/fs/tmpfs/tmpfs_vnops.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/fs/tmpfs/tmpfs_vnops.c
==============================================================================
--- stable/8/sys/fs/tmpfs/tmpfs_vnops.c	Mon Nov 14 08:29:49 2011	(r227497)
+++ stable/8/sys/fs/tmpfs/tmpfs_vnops.c	Mon Nov 14 15:10:01 2011	(r227498)
@@ -1080,6 +1080,7 @@ tmpfs_rename(struct vop_rename_args *v)
 		 * really reclaimed. */
 		tmpfs_free_dirent(VFS_TO_TMPFS(tvp->v_mount), de, TRUE);
 	}
+	cache_purge(fvp);
 
 	error = 0;
 



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