Date: Tue, 1 Nov 2011 12:33:06 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r226987 - head/sys/fs/tmpfs Message-ID: <201111011233.pA1CX6BK067143@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Tue Nov 1 12:33:06 2011 New Revision: 226987 URL: http://svn.freebsd.org/changeset/base/226987 Log: Added missing cache purge of from argument for rename(). Reported by: Anton Yuzhaninov <citrin citrin ru> In collaboration with: kib MFC after: 1 week Modified: head/sys/fs/tmpfs/tmpfs_vnops.c Modified: head/sys/fs/tmpfs/tmpfs_vnops.c ============================================================================== --- head/sys/fs/tmpfs/tmpfs_vnops.c Tue Nov 1 09:28:47 2011 (r226986) +++ head/sys/fs/tmpfs/tmpfs_vnops.c Tue Nov 1 12:33:06 2011 (r226987) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111011233.pA1CX6BK067143>