X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-sgid.c;h=a729d0bbbb884d54b2cc22684c03ea69fd32bf35;hb=3b4aafcbbef722c5d04f2fe06a47c47d4d23eda0;hp=4f58a14f680e4332d33420529a52c1a5f942bf62;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-sgid.c b/lttng-context-sgid.c index 4f58a14f..a729d0bb 100644 --- a/lttng-context-sgid.c +++ b/lttng-context-sgid.c @@ -13,7 +13,7 @@ #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);