X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-context-vsgid.c;h=82ada63745b1774dfe410890f6f6bc13ebb8e1fb;hb=3b4aafcbbef722c5d04f2fe06a47c47d4d23eda0;hp=20987ddec5fc1dec255f7a83dd91636bb91177e2;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-vsgid.c b/lttng-context-vsgid.c index 20987dde..82ada637 100644 --- a/lttng-context-vsgid.c +++ b/lttng-context-vsgid.c @@ -13,7 +13,7 @@ #include #include #include -#include +#include #include #include @@ -70,7 +70,7 @@ int lttng_add_vsgid_to_ctx(struct lttng_ctx **ctx) field->record = vsgid_record; field->get_value = vsgid_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_vsgid_to_ctx);