diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/dir-clear.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/dir-clear.c b/libdiskfs/dir-clear.c index c1033a03..7088afb3 100644 --- a/libdiskfs/dir-clear.c +++ b/libdiskfs/dir-clear.c @@ -35,6 +35,7 @@ diskfs_clear_directory (struct node *dp, if (!err) { assert (np == dp); + diskfs_purge_cache_node (dp, np); err = diskfs_dirremove (dp, ds); diskfs_nrele (np); } @@ -53,6 +54,7 @@ diskfs_clear_directory (struct node *dp, if (!err) { assert (np == pdp); + diskfs_purge_cache_node (dp, np); err = diskfs_dirremove (dp, ds); } else |