From fc8d3ae9fe3ae3830e6ff4d251001053e0123b83 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Thu, 7 Aug 1997 18:30:49 +0000 Subject: Wed Aug 6 15:23:03 1997 Thomas Bushnell, n/BSG * ops.c (netfs_attempt_unlink): Purge cache-held references *before* counting live references. Use new function. * name-cache.c (purge_lookup_cache_node): New function. * nfs.h (purge_lookup_cache_node): New decl. * cache.c (netfs_node_norefs): Don't do delete RPC here, fork off a separate thread to do it. (struct fnd): New type. (forked_node_delete): New function. --- nfs/nfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nfs/nfs.h') diff --git a/nfs/nfs.h b/nfs/nfs.h index 5a3dd8a9..ff90744d 100644 --- a/nfs/nfs.h +++ b/nfs/nfs.h @@ -191,3 +191,4 @@ int *recache_handle (int *, struct node *); void enter_lookup_cache (char *, size_t, struct node *, char *); void purge_lookup_cache (struct node *, char *, size_t); struct node *check_lookup_cache (struct node *, char *); +void purge_lookup_cache_node (struct node *); -- cgit v1.2.3