summaryrefslogtreecommitdiff
path: root/libdiskfs/node-drop.c
diff options
context:
space:
mode:
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);
}