summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dirrewrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dirrewrite.c b/libdiskfs/dirrewrite.c
index 54a041b0..b2e750f5 100644
--- a/libdiskfs/dirrewrite.c
+++ b/libdiskfs/dirrewrite.c
@@ -37,7 +37,7 @@ error_t diskfs_dirrewrite (struct node *dp,
{
error_t err;
- diskfs_purge_cache (dp, oldnp);
+ diskfs_purge_lookup_cache (dp, oldnp);
err = diskfs_dirrewrite_hard (dp, np, ds);
if (err)
@@ -45,7 +45,7 @@ error_t diskfs_dirrewrite (struct node *dp,
if (dp->dirmod_reqs)
diskfs_notice_dirchange (dp, DIR_CHANGED_RENUMBER, name);
- diskfs_enter_cache (dp, np, name);
+ diskfs_enter_lookup_cache (dp, np, name);
return 0;
}