commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 03/05: mach-defpager: Add missing unlock


From: Samuel Thibault
Subject: [hurd] 03/05: mach-defpager: Add missing unlock
Date: Fri, 26 Aug 2016 07:55:12 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 118a5b8c33cc2fad8ccdc5858253e7ed3dfca513
Author: Brent W. Baccala <address@hidden>
Date:   Sat Aug 20 14:16:38 2016 +0200

    mach-defpager: Add missing unlock
    
    * mach-defpager/default_pager.c (destroy_paging_partition): Add missing
    unlock when destroying partition fails.
---
 mach-defpager/default_pager.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c
index 067fd6c..d7bc75b 100644
--- a/mach-defpager/default_pager.c
+++ b/mach-defpager/default_pager.c
@@ -1920,6 +1920,7 @@ dprintf("Partition x%p (id x%x) for %s, all_ok %d\n", 
part, id, name, all_ok);
         * Put partition back in.
         */
        part->going_away = FALSE;
+       pthread_mutex_unlock(&part->p_lock);
 
        return KERN_FAILURE;
 }

-- 
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]