Use exported symbol bdevname() instead of disk_name()
[lttng-modules.git] / lttng-context-mnt-ns.c
index 98d5b8e60bc78f3f0195ee3557442cee1e0243b7..cb59776c82cca5c41f504ba90194f588863a1222 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/slab.h>
 #include <linux/sched.h>
 #include <lttng-events.h>
+#include <linux/nsproxy.h>
 #include <wrapper/ringbuffer/frontend_types.h>
 #include <wrapper/vmalloc.h>
 #include <wrapper/namespace.h>
@@ -97,7 +98,7 @@ int lttng_add_mnt_ns_to_ctx(struct lttng_ctx **ctx)
        field->record = mnt_ns_record;
        field->get_value = mnt_ns_get_value;
        lttng_context_update(*ctx);
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
        return 0;
 }
 EXPORT_SYMBOL_GPL(lttng_add_mnt_ns_to_ctx);
This page took 0.022646 seconds and 4 git commands to generate.