From a22ca7c510c1a1d238bf783914e7719c4bfd7c3e Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 19 Mar 1996 20:05:54 +0000 Subject: (diskfs_S_dir_rename): Call diskfs_purge_cache_node before diskfs_dirremove. --- libdiskfs/dir-rename.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libdiskfs/dir-rename.c b/libdiskfs/dir-rename.c index a8a7760f..fd15e82e 100644 --- a/libdiskfs/dir-rename.c +++ b/libdiskfs/dir-rename.c @@ -1,5 +1,5 @@ /* libdiskfs implementation of fs.defs: dir_rename - 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 @@ -196,6 +196,7 @@ diskfs_S_dir_rename (struct protid *fromcred, diskfs_nrele (tmpnp); + diskfs_purge_cache_node (fdp, fnp); err = diskfs_dirremove (fdp, ds); if (diskfs_synchronous) diskfs_node_update (fdp, 1); -- cgit v1.2.3