We can not be holding a chainlock at this stage, so the tdb_chainunlock() call is...
[rusty/ctdb.git] / server / ctdb_ltdb_server.c
index 1ce728349beb8eaf68a45a774c1ca15498623d8a..03c62ac50abbcb0dd74fa3a9e82ccc393903b3d1 100644 (file)
@@ -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;
        }