- added in idtree for efficient reqid handling
[vlendec/samba-autobuild/.git] / ctdb / common / ctdb.c
index 0277135f3614cf4ebd4c3938d9da706ae2c11fef..6ab4b16702ff89b684763a795a249d6dc2a4c3c6 100644 (file)
@@ -187,6 +187,7 @@ struct ctdb_context *ctdb_init(struct event_context *ev)
        ctdb = talloc_zero(ev, struct ctdb_context);
        ctdb->ev = ev;
        ctdb->upcalls = &ctdb_upcalls;
+       ctdb->idr = idr_init(ctdb);
 
        return ctdb;
 }