summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-19 20:09:45 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-19 20:09:45 +0000
commitd5bf40ecd40b4d970ecc4b2d556165a4ed0cc1d4 (patch)
tree67d852c6c5393ae99a995d573397d09ec222e7a6
parentf8213c7838a95cf2d33886fe694164fde6c9b0e6 (diff)
(diskfs_S_dir_rmdir): Call diskfs_purge_cache_node before
diskfs_dirremove.
-rw-r--r--libdiskfs/dir-rmdir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/dir-rmdir.c b/libdiskfs/dir-rmdir.c
index 31e20712..37cd4fb0 100644
--- a/libdiskfs/dir-rmdir.c
+++ b/libdiskfs/dir-rmdir.c
@@ -1,5 +1,5 @@
/* libdsikfs implementation of fs.defs: dir_rmdir
- 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
@@ -76,6 +76,7 @@ diskfs_S_dir_rmdir (struct protid *dircred,
return ENOTEMPTY;
}
+ diskfs_purge_cache_node (dnp, np);
error = diskfs_dirremove (dnp, ds);
if (!error)
{