summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/dir-renamed.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdiskfs/dir-renamed.c b/libdiskfs/dir-renamed.c
index d7da1d07..db4c6ebe 100644
--- a/libdiskfs/dir-renamed.c
+++ b/libdiskfs/dir-renamed.c
@@ -140,7 +140,6 @@ diskfs_rename_dir (struct node *fdp, struct node *fnp, char *fromname,
goto out;
}
- diskfs_purge_cache (fnp, tdp);
err = diskfs_dirrewrite (fnp, tdp, tmpds);
if (diskfs_synchronous)
diskfs_file_update (fnp, 1);
@@ -170,7 +169,6 @@ diskfs_rename_dir (struct node *fdp, struct node *fnp, char *fromname,
if (tnp)
{
- diskfs_purge_cache (tdp, fnp);
err = diskfs_dirrewrite (tdp, fnp, ds);
ds = 0;
if (!err)