[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/8] procfs: Use refcounts_t to track node references.
From: |
Flavio Cruz |
Subject: |
[PATCH 6/8] procfs: Use refcounts_t to track node references. |
Date: |
Sun, 6 Mar 2016 17:06:31 -0500 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
* 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 6/8] procfs: Use refcounts_t to track node references.,
Flavio Cruz <=