zbd: Add a missing pthread_mutex_unlock() call
authorBart Van Assche <bvanassche@acm.org>
Sat, 30 May 2020 22:34:00 +0000 (15:34 -0700)
committerBart Van Assche <bvanassche@acm.org>
Tue, 8 Sep 2020 01:50:07 +0000 (18:50 -0700)
commitb2726d53bb5d7f74e25b6312c4a274fe5f196126
tree18bee52bef6beaf1b5b384daf523afd9e80bd1f1
parentbe23e6be4fadb723f925824f88fbaedbd3502251
zbd: Add a missing pthread_mutex_unlock() call

This patch fixes the following Coverity complaint:

CID 292491 (#1 of 1): Missing unlock (LOCK)
missing_unlock: Returning without unlocking zb->mutex.

Fixes: bfbdd35b3e8f ("Add support for zoned block devices")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
zbd.c