From 635b1e3f080083d65c1a54465d67e58d7f4fb493 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 19 Mar 1996 19:59:18 +0000 Subject: (diskfs_drop_node): Call _diskfs_purge_cache before releasing node structure with diskfs_node_norefs. --- libdiskfs/node-drop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3