summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-12-07 16:06:41 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-12-09 15:08:01 +0100
commit0bdd1a9d8d3eef8cae027be133ee11fc9a3b5165 (patch)
treead064d0bf293555c59d8d9276e44fea645548213 /console-client
parent83dfdd298d14d885b9ebc37b3b1af703cdd27f8c (diff)
console-client: remove spurious pthread_spin_unlocks
* console-client/trans.c (netfs_attempt_mkfile): Remove spurious pthread_spin_unlock. (netfs_node_norefs): Likewise.
Diffstat (limited to 'console-client')
-rw-r--r--console-client/trans.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/console-client/trans.c b/console-client/trans.c
index 8219f970..00c5407e 100644
--- a/console-client/trans.c
+++ b/console-client/trans.c
@@ -482,7 +482,6 @@ netfs_attempt_mkfile (struct iouser *user, struct node *dir,
*np = netfs_make_node (nn);
pthread_mutex_lock (&(*np)->lock);
- pthread_spin_unlock (&netfs_node_refcnt_lock);
return 0;
}
@@ -624,7 +623,6 @@ void netfs_node_norefs (struct node *np)
if (np->nn->symlink_path)
free (np->nn->symlink_path);
- pthread_spin_unlock (&netfs_node_refcnt_lock);
free (np->nn);
free (np);
}