summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-renamed.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/dir-renamed.c')
-rw-r--r--libdiskfs/dir-renamed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/dir-renamed.c b/libdiskfs/dir-renamed.c
index db4c6ebe..581376de 100644
--- a/libdiskfs/dir-renamed.c
+++ b/libdiskfs/dir-renamed.c
@@ -190,6 +190,8 @@ diskfs_rename_dir (struct node *fdp, struct node *fnp, char *fromname,
if (err)
goto out;
+ diskfs_enter_cache (tdp, fnp, toname);
+
/* 4: Remove the entry in fdp. */
ds = buf;
mutex_unlock (&fnp->lock);