summaryrefslogtreecommitdiff
path: root/libdiskfs/node-drop.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-08 20:02:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-08 20:02:04 +0000
commit228f5889569afa6f783c1f17afda49d73c7360c5 (patch)
treefeee803ad375720a72e7fc5cc988779ff5265a7b /libdiskfs/node-drop.c
parent0038c6664519ace819e281349882b82c9f5546bf (diff)
Formerly node-drop.c.~3~
Diffstat (limited to 'libdiskfs/node-drop.c')
-rw-r--r--libdiskfs/node-drop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/node-drop.c b/libdiskfs/node-drop.c
index 6c0e609d..c8768c4a 100644
--- a/libdiskfs/node-drop.c
+++ b/libdiskfs/node-drop.c
@@ -18,7 +18,7 @@
#include "priv.h"
/* Node NP now has no more references; clean all state. The
- _diskfs_node_refcnt_lock must be held. */
+ diskfs_node_refcnt_lock must be held. */
void
diskfs_drop_node (struct node *np)
{
@@ -33,6 +33,7 @@ diskfs_drop_node (struct node *np)
diskfs_node_update (np, 1);
diskfs_free_node (np);
}
+ diskfs_node_norefs (np);
}