X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-sgid.c;h=18f1b837ec8ed33d468c716438bc90b33319bdff;hb=2bc89292c6ac6030a7498a798671cca921ae61df;hp=4f58a14f680e4332d33420529a52c1a5f942bf62;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-sgid.c b/lttng-context-sgid.c index 4f58a14f..18f1b837 100644 --- a/lttng-context-sgid.c +++ b/lttng-context-sgid.c @@ -11,9 +11,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include @@ -70,7 +70,7 @@ int lttng_add_sgid_to_ctx(struct lttng_ctx **ctx) field->record = sgid_record; field->get_value = sgid_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_sgid_to_ctx);