diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:05:29 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:05:29 +0000 |
commit | f4170120b2296889965fc431ffa40e707fb8bb7c (patch) | |
tree | 3224b4e91bad171e02d3ed5081f8c8a5a3ee7fa1 | |
parent | a922eaa595f2901312400c23083a3f5eff0c0908 (diff) |
(diskfs_rename_dir): Call diskfs_purge_cache_node before
diskfs_dirremove.
-rw-r--r-- | libdiskfs/dir-renamed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/dir-renamed.c b/libdiskfs/dir-renamed.c index 63cb5057..db4c6ebe 100644 --- a/libdiskfs/dir-renamed.c +++ b/libdiskfs/dir-renamed.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994, 1995 Free Software Foundation + Copyright (C) 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 @@ -199,6 +199,7 @@ diskfs_rename_dir (struct node *fdp, struct node *fnp, char *fromname, if (err) goto out; + diskfs_purge_cache_node (fdp, fnp); diskfs_dirremove (fdp, ds); ds = 0; fnp->dn_stat.st_nlink--; |