blk: check return value of pthread_mutex_unlock()
Merge pull request #45 from ldorau/blk-check-return-value

blk: check return value of pthread_mutex_unlock()