lib prio heap: add missing gfpmask
[lttng-modules.git] / 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.023811 seconds and 4 git commands to generate.