diff --git a/ceph-common-do-not-unlock-rwlock-on-destruction.patch b/ceph-common-do-not-unlock-rwlock-on-destruction.patch index e7191d4..b6ba221 100644 --- a/ceph-common-do-not-unlock-rwlock-on-destruction.patch +++ b/ceph-common-do-not-unlock-rwlock-on-destruction.patch @@ -18,7 +18,7 @@ index f901ac0..4699b66 100644 - pthread_rwlock_unlock(&L); + // The following check is racy but we are about to destroy + // the object and we assume that there are no other users. -+ assert(!is_locked()); ++ //assert(!is_locked()); -- hacky backport, no is_locked in firefly pthread_rwlock_destroy(&L); }