summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/dir-renamed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/dir-renamed.c b/libdiskfs/dir-renamed.c
index 63cb5057..db4c6ebe 100644
--- a/libdiskfs/dir-renamed.c
+++ b/libdiskfs/dir-renamed.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994, 1995 Free Software Foundation
+ Copyright (C) 1994, 1995, 1996 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -199,6 +199,7 @@ diskfs_rename_dir (struct node *fdp, struct node *fnp, char *fromname,
if (err)
goto out;
+ diskfs_purge_cache_node (fdp, fnp);
diskfs_dirremove (fdp, ds);
ds = 0;
fnp->dn_stat.st_nlink--;