diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 19:59:18 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-19 19:59:18 +0000 |
commit | 635b1e3f080083d65c1a54465d67e58d7f4fb493 (patch) | |
tree | 22b8835caba3bb237a38f4d09de8fe059d99d554 /libdiskfs | |
parent | 3ab905b71195fdaf1d13a4075ee2cff6af07b09f (diff) |
(diskfs_drop_node): Call _diskfs_purge_cache before releasing node
structure with diskfs_node_norefs.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/node-drop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c index ef3285ec..76b72844 100644 --- a/libdiskfs/node-drop.c +++ b/libdiskfs/node-drop.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 @@ -89,6 +89,7 @@ diskfs_drop_node (struct node *np) if (np->sockaddr) mach_port_deallocate (mach_task_self (), np->sockaddr); + _diskfs_purge_cache (np); diskfs_node_norefs (np); spin_unlock (&diskfs_node_refcnt_lock); } |