huge_node_locked don't have to unlock huge_mtx

in src/huge.c, after each call of huge_node_locked(), huge_mtx is
already unlocked. don't unlock it twice (it is a undefined behaviour).
This commit is contained in:
Sébastien Marie 2015-01-25 15:12:28 +01:00
parent 4581b97809
commit eee27b2a38

View File

@ -83,7 +83,6 @@ huge_node_locked(const void *ptr)
node = extent_tree_ad_search(&huge, &key);
assert(node != NULL);
assert(node->addr == ptr);
malloc_mutex_unlock(&huge_mtx);
return (node);
}