summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-renamed.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-19 20:16:11 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-19 20:16:11 +0000
commit4bd166682c7a41207e8953e6e9cfc93df4a9b01a (patch)
tree5c80d7286d9ecbbf17882a87d4b855d70a5ac713 /libdiskfs/dir-renamed.c
parent6a653653efaf0ccded25d2faeaa947161d73c099 (diff)
(diskfs_S_dir_rename): Call diskfs_enter_cache if
diskfs_direnter/diskfs_dirrewrite is successful.
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);