From 1f06594dd84219b0c37eadc7a5a934a0848c2a8c Mon Sep 17 00:00:00 2001 From: pho Date: Tue, 1 Nov 2011 12:33:06 +0000 Subject: [PATCH 01/65] Added missing cache purge of from argument for rename(). Reported by: Anton Yuzhaninov In collaboration with: kib MFC after: 1 week git-svn-id: http://svn.freebsd.org/base/head@226987 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f (cherry picked from commit 53c7ccb51d210a15ece00debd310419534bbfefb) Signed-off-by: Xin Li --- sys/fs/tmpfs/tmpfs_vnops.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index 74aba04..6f52491 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -1138,6 +1138,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; -- 1.7.8.3