diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-15 01:05:48 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-15 01:05:48 +0000 |
commit | fb87234090a18f586068e9d69f2e0a4037f73e0e (patch) | |
tree | 8ffea244fd6881aee0888fb74e9edcd02c85cc53 /libnetfs | |
parent | 1a0ea62b698c2eba08a4316fc1cb4217ce79a4e5 (diff) |
entered into RCS
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/drop-node.c | 19 |
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); } |