summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/dir-rename.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/dir-rename.c b/libdiskfs/dir-rename.c
index 5273f8fe..4693bc6f 100644
--- a/libdiskfs/dir-rename.c
+++ b/libdiskfs/dir-rename.c
@@ -144,6 +144,7 @@ diskfs_S_dir_rename (struct protid *fromcred,
if (tnp)
{
+ diskfs_purge_cache (tdp, tnp);
err = diskfs_dirrewrite (tdp, fnp, ds);
if (!err)
{