summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-15 01:05:48 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-15 01:05:48 +0000
commitfb87234090a18f586068e9d69f2e0a4037f73e0e (patch)
tree8ffea244fd6881aee0888fb74e9edcd02c85cc53 /libnetfs
parent1a0ea62b698c2eba08a4316fc1cb4217ce79a4e5 (diff)
entered into RCS
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/drop-node.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/libnetfs/drop-node.c b/libnetfs/drop-node.c
index b3dd10a0..8e2019fd 100644
--- a/libnetfs/drop-node.c
+++ b/libnetfs/drop-node.c
@@ -23,26 +23,7 @@
void
netfs_drop_node (struct node *np)
{
- mode_t savemode;
-
- if (np->dn_stat.st_nlink == 0)
- {
- assert (!netfs_readonly);
-
- if (np->allocsize != 0)
- {
- np->references++;
- spin_unlock (&netfs_node_refcnt_lock);
- netfs_truncate (np, 0);
-
- netfs_nput (np);
- return;
- }
- /* How to clear? */
- }
-
fshelp_drop_transbox (&np->transbox);
-
netfs_node_norefs (np);
spin_unlock (&netfs_node_refcnt_lock);
}