diff options
author | pho <pho@FreeBSD.org> | 2011-11-01 12:33:06 +0000 |
---|---|---|
committer | pho <pho@FreeBSD.org> | 2011-11-01 12:33:06 +0000 |
commit | d08a02f709c03ad61dd57d1fa39412d6de62189d (patch) | |
tree | 804c92b7ee989faacdebca3d5ea44abea2d0bec8 /sys | |
parent | 705fefeaf98a849857edd3dc612c34b43d583e8e (diff) | |
download | FreeBSD-src-d08a02f709c03ad61dd57d1fa39412d6de62189d.zip FreeBSD-src-d08a02f709c03ad61dd57d1fa39412d6de62189d.tar.gz |
Added missing cache purge of from argument for rename().
Reported by: Anton Yuzhaninov <citrin citrin ru>
In collaboration with: kib
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r-- | 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; |