Looks like it was accidentally moved far away from where it has to be. Moving it back helps to apply next patches cleaner.
https://jira.sw.ru/browse/PSBM-102357 Signed-off-by: Pavel Tikhomirov <[email protected]> --- kernel/user_namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c index 7445f1ead437..824e0cd0b7dd 100644 --- a/kernel/user_namespace.c +++ b/kernel/user_namespace.c @@ -1024,6 +1024,7 @@ bool current_in_userns(const struct user_namespace *target_ns) } return false; } +EXPORT_SYMBOL(current_in_userns); static void *userns_get(struct task_struct *task) { @@ -1077,7 +1078,6 @@ static unsigned int userns_inum(void *ns) struct user_namespace *user_ns = ns; return user_ns->proc_inum; } -EXPORT_SYMBOL(current_in_userns); const struct proc_ns_operations userns_operations = { .name = "user", -- 2.24.1 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
