svn commit: r226987 - head/sys/fs/tmpfs
Peter Holm
pho at FreeBSD.org
Tue Nov 1 12:33:07 UTC 2011
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;
More information about the svn-src-all
mailing list