diff options
author | Brent W. Baccala <cosine@freesoft.org> | 2016-08-20 14:16:38 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-20 14:16:38 +0200 |
commit | 118a5b8c33cc2fad8ccdc5858253e7ed3dfca513 (patch) | |
tree | e597f8a9487f2692c685bc16394f1c8491a4e2b7 /mach-defpager/default_pager.c | |
parent | e03a12dd251745f6b1cb46c97b58181b85156d27 (diff) |
mach-defpager: Add missing unlock
* mach-defpager/default_pager.c (destroy_paging_partition): Add missing
unlock when destroying partition fails.
Diffstat (limited to 'mach-defpager/default_pager.c')
-rw-r--r-- | mach-defpager/default_pager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c index 067fd6ca..d7bc75b4 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; } |