From d5bf40ecd40b4d970ecc4b2d556165a4ed0cc1d4 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 19 Mar 1996 20:09:45 +0000 Subject: (diskfs_S_dir_rmdir): Call diskfs_purge_cache_node before diskfs_dirremove. --- libdiskfs/dir-rmdir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3