Avoid double unlocking of client_mutex and
and unlock client_mutex in 'else' branch
since it's already unlocked in 'if (cl->dead)' branch.
Version 2.02.174 -
=================================
+ Avoid double unlocking of client & lockspace mutexes in lvmlockd.
Fix leaking of file descriptor for non-blocking filebased locking.
Fix check for 2nd mda at end of disk fits if using pvcreate --restorefile.
Use maximum metadataarea size that fits with pvcreate --restorefile.
} else {
pthread_mutex_unlock(&cl->mutex);
}
- }
- pthread_mutex_unlock(&client_mutex);
+ } else
+ pthread_mutex_unlock(&client_mutex);
}
out:
return NULL;