nsproxy: add helper to go from arbitrary namespace to ns_common
They all contains struct ns_common ns and if there ever is one wherethat isn't the case we'll catch it here at build time.Signed-off-by: Christian Brauner <brauner@kernel.org>
Christian Brauner 2 years ago 85e4daae d057c108