avoiding initial deadlock

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@324 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale 2007-11-08 01:22:58 +00:00
parent 74e8473971
commit 003bdd30f2
1 changed files with 1 additions and 2 deletions

View File

@ -303,10 +303,9 @@ zap_status_t zap_span_create(zap_io_interface_t *zio, zap_span_t **span)
*span = new_span; *span = new_span;
status = ZAP_SUCCESS; status = ZAP_SUCCESS;
} }
zap_mutex_unlock(globals.mutex);
done: done:
zap_mutex_unlock(globals.mutex);
return status; return status;
} }