Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhost: check return of mutex initialization
Check return value of pthread_mutex_init(). Also destroy mutex in case of other erros before returning. Signed-off-by: Jens Freimann <jfreimann@redhat.com> Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
- Loading branch information