s3:g_lock: always call g_lock_cleanup_shared() before getting stuck on lck.num_shared...
authorStefan Metzmacher <metze@samba.org>
Thu, 30 Jun 2022 14:42:54 +0000 (16:42 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 26 Jul 2022 13:40:34 +0000 (13:40 +0000)
commit52720516998091206399e9b2387d8ee8265e4660
tree6d550a8f036024d8223f57c08a41e12ac40c7b25
parentb865bb28abedd18d5db0ae3ea31908c75ee1129b
s3:g_lock: always call g_lock_cleanup_shared() before getting stuck on lck.num_shared != 0

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/g_lock.c