lib prio heap: add missing gfpmask
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 27 Jun 2011 18:22:34 +0000 (14:22 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 27 Jun 2011 18:22:34 +0000 (14:22 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/prio_heap/lttng_prio_heap.c

index 5bbd0793b8a6d5ca2a7a57772a88de9bc5eac934..2fce143c1d3e00bc7d5f342da0297ff7a5ee047e 100644 (file)
@@ -91,6 +91,7 @@ int lttng_heap_init(struct lttng_ptr_heap *heap, size_t alloc_len,
        heap->len = 0;
        heap->alloc_len = 0;
        heap->gt = gt;
+       heap->gfpmask = gfpmask;
        /*
         * Minimum size allocated is 1 entry to ensure memory allocation
         * never fails within heap_replace_max.
This page took 0.028058 seconds and 4 git commands to generate.