summaryrefslogtreecommitdiff
path: root/procfs/netfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'procfs/netfs.c')
-rw-r--r--procfs/netfs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/procfs/netfs.c b/procfs/netfs.c
index 276c57cc..0b3d31aa 100644
--- a/procfs/netfs.c
+++ b/procfs/netfs.c
@@ -222,12 +222,8 @@ error_t netfs_attempt_lookup (struct iouser *user, struct node *dir,
free all its associated storage. */
void netfs_node_norefs (struct node *np)
{
- pthread_spin_unlock (&netfs_node_refcnt_lock);
-
procfs_cleanup (np);
free (np);
-
- pthread_spin_lock (&netfs_node_refcnt_lock);
}
/* The user may define this function (but should define it together