commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 75/98: console-client: remove spurious pthread_spin_unlocks


From: Samuel Thibault
Subject: [hurd] 75/98: console-client: remove spurious pthread_spin_unlocks
Date: Tue, 14 Jan 2014 02:00:03 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 0bdd1a9d8d3eef8cae027be133ee11fc9a3b5165
Author: Justus Winter <address@hidden>
Date:   Sat Dec 7 16:06:41 2013 +0100

    console-client: remove spurious pthread_spin_unlocks
    
    * console-client/trans.c (netfs_attempt_mkfile): Remove spurious
      pthread_spin_unlock.
    (netfs_node_norefs): Likewise.
---
 console-client/trans.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/console-client/trans.c b/console-client/trans.c
index 8219f97..00c5407 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);
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]