svn commit: r227498 - stable/8/sys/fs/tmpfs

[ Available lists | Index of svn-src-stable-8 | Month of Nov 2011 | Week of 14 Nov 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Peter Holm <pho@FreeBSD.org>
Date
14 Nov 2011 15:10:02
Subject
svn commit: r227498 - stable/8/sys/fs/tmpfs
Message-ID
201111141510.pAEFA1O7054423@svn.freebsd.org


[ Hide this part ]
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;


Elapsed time: 0.065 seconds