mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
We can not be holding a chainlock at this stage, so the tdb_chainunlock() call is bogus
( a child process might be holding the lock, but not the main daemon) (This used to be ctdb commit 9b4a83e49c5df80df8498b7384c5f53f390c1d9d)
This commit is contained in:
@ -141,7 +141,6 @@ int ctdb_ltdb_lock_requeue(struct ctdb_db_context *ctdb_db,
|
||||
/* now the contended path */
|
||||
h = ctdb_lockwait(ctdb_db, key, lock_fetch_callback, state);
|
||||
if (h == NULL) {
|
||||
tdb_chainunlock(tdb, key);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user