summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/dir-unlink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c
index fcfb6065..047b4329 100644
--- a/libdiskfs/dir-unlink.c
+++ b/libdiskfs/dir-unlink.c
@@ -1,5 +1,5 @@
/* libdiskfs implementation of fs.defs: dir_unlink
- Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation
+ Copyright (C) 1992, 1993, 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
@@ -62,6 +62,7 @@ diskfs_S_dir_unlink (struct protid *dircred,
return EISDIR;
}
+ diskfs_purge_cache_node (dnp, np);
error = diskfs_dirremove (dnp, ds);
if (diskfs_synchronous)
diskfs_node_update (dnp, 1);