summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-rename.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-19 20:24:45 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-19 20:24:45 +0000
commitfb40b305a6572e000db58369f7df4c49a89afb8d (patch)
tree5427bfb4913f8836e1a4031b75cf022b9aad47ab /libdiskfs/dir-rename.c
parent2ce6fda3da4f99c758d3995edd5ee2a1282c8bcc (diff)
(diskfs_S_dir_rename): Call diskfs_purge_cache before
diskfs_dirrewrite for old node.
Diffstat (limited to 'libdiskfs/dir-rename.c')
-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)
{