X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=lttng-context-egid.c;h=535402a2c923bd8d7fd3184314a6a30cf4ebb6d8;hb=2459130397d7e7eecc44a5f06a39d65c78257eef;hp=fcd01461fdbacf5aa21aaf89fb8c7f2ece377617;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-egid.c b/lttng-context-egid.c index fcd01461..535402a2 100644 --- a/lttng-context-egid.c +++ b/lttng-context-egid.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include @@ -70,7 +70,7 @@ int lttng_add_egid_to_ctx(struct lttng_ctx **ctx) field->record = egid_record; field->get_value = egid_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_egid_to_ctx);