From: Eric W. Biederman Date: Sat, 4 Aug 2012 02:11:22 +0000 (-0700) Subject: pidns: Export free_pid_ns X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=523a6a945f3cf5f1d337e50634687a577a732a5f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git pidns: Export free_pid_ns There is a least one modular user so export free_pid_ns so modules can capture and use the pid namespace on the very rare occasion when it makes sense. Acked-by: David S. Miller Signed-off-by: "Eric W. Biederman" --- diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c index b3c7fd554250..baa528d7dfbd 100644 --- a/kernel/pid_namespace.c +++ b/kernel/pid_namespace.c @@ -16,6 +16,7 @@ #include #include #include +#include #define BITS_PER_PAGE (PAGE_SIZE*8) @@ -144,6 +145,7 @@ void free_pid_ns(struct kref *kref) if (parent != NULL) put_pid_ns(parent); } +EXPORT_SYMBOL_GPL(free_pid_ns); void zap_pid_ns_processes(struct pid_namespace *pid_ns) {