diff options
author | Peter Holm <pho@FreeBSD.org> | 2011-11-01 12:33:06 +0000 |
---|---|---|
committer | Peter Holm <pho@FreeBSD.org> | 2011-11-01 12:33:06 +0000 |
commit | 948fa27d49f863b6b1a006993ef1822ed2f7c020 (patch) | |
tree | 804c92b7ee989faacdebca3d5ea44abea2d0bec8 | |
parent | 66ce99369a5c324459d99cdec6539c18a026e315 (diff) | |
download | src-948fa27d49f863b6b1a006993ef1822ed2f7c020.tar.gz src-948fa27d49f863b6b1a006993ef1822ed2f7c020.zip |
Added missing cache purge of from argument for rename().
Reported by: Anton Yuzhaninov <citrin citrin ru>
In collaboration with: kib
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=226987
-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 74aba047edcd..6f52491ad7ab 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; |