* procfs/netfs.c: Remove use of netfs_node_refcnt_lock.
---
procfs/netfs.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/procfs/netfs.c b/procfs/netfs.c
index 276c57c..0b3d31a 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
--
2.6.4