Commit 880c817e authored by Seth Forshee's avatar Seth Forshee Committed by Tim Gardner

UBUNTU: SAUCE: (namespace) userns: Export current_in_userns to modules

BugLink: http://bugs.launchpad.net/bugs/1617550

Building fuse as a module fails because this symbol is not
exported.
Signed-off-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
Acked-by: default avatarBrad Figg <brad.figg@canonical.com>
parent c4cf5fcd
...@@ -964,6 +964,7 @@ bool current_in_userns(const struct user_namespace *target_ns) ...@@ -964,6 +964,7 @@ bool current_in_userns(const struct user_namespace *target_ns)
} }
return false; return false;
} }
EXPORT_SYMBOL(current_in_userns);
static inline struct user_namespace *to_user_ns(struct ns_common *ns) static inline struct user_namespace *to_user_ns(struct ns_common *ns)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment