diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:05:54 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:05:54 +0000 |
commit | a22ca7c510c1a1d238bf783914e7719c4bfd7c3e (patch) | |
tree | 7bc9b0c2febe24359c99aef5c20e78cf34953fae | |
parent | f4170120b2296889965fc431ffa40e707fb8bb7c (diff) |
(diskfs_S_dir_rename): Call diskfs_purge_cache_node before
diskfs_dirremove.
-rw-r--r-- | libdiskfs/dir-rename.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |