]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nsproxy: add helper to go from arbitrary namespace to ns_common
authorChristian Brauner <brauner@kernel.org>
Fri, 28 Jun 2024 08:05:19 +0000 (10:05 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 28 Jun 2024 08:37:29 +0000 (10:37 +0200)
commit85e4daaeb70bc68ec920e0c268eb428113d31b21
tree5de134796d12f4f115a0c878ad3d4f2b8f4f9004
parentd057c108155ab8d02b603c7ee5da7df615c2f32f
nsproxy: add helper to go from arbitrary namespace to ns_common

They all contains struct ns_common ns and if there ever is one where
that isn't the case we'll catch it here at build time.

Signed-off-by: Christian Brauner <brauner@kernel.org>
include/linux/nsproxy.h