diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:10:47 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 20:10:47 +0000 |
commit | 168234f5c6667cb4db6895e4d26199a13874c43f (patch) | |
tree | ccb734070cb65c205bf64ed7aca2b825d4320f1e /libdiskfs | |
parent | d5bf40ecd40b4d970ecc4b2d556165a4ed0cc1d4 (diff) |
(diskfs_S_dir_unlink): Call diskfs_purge_cache_node before
diskfs_dirremove.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/dir-unlink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c index fcfb6065..047b4329 100644 --- a/libdiskfs/dir-unlink.c +++ b/libdiskfs/dir-unlink.c @@ -1,5 +1,5 @@ /* libdiskfs implementation of fs.defs: dir_unlink - 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 @@ -62,6 +62,7 @@ diskfs_S_dir_unlink (struct protid *dircred, return EISDIR; } + diskfs_purge_cache_node (dnp, np); error = diskfs_dirremove (dnp, ds); if (diskfs_synchronous) diskfs_node_update (dnp, 1); |