Thread (78 messages) 78 messages, 12 authors, 2025-10-24

Re: [PATCH 25/32] ns: add to_<type>_ns() to respective headers

From: Thomas Gleixner <hidden>
Date: 2025-09-21 07:35:30
Also in: cgroups, linux-block, linux-fsdevel, linux-kselftest, linux-nfs, lkml

On Wed, Sep 10 2025 at 16:37, Christian Brauner wrote:
Every namespace type has a container_of(ns, <ns_type>, ns) static inline
function that is currently not exposed in the header. So we have a bunch
of places that open-code it via container_of(). Move it to the headers
so we can use it directly.

Signed-off-by: Christian Brauner <brauner@kernel.org>
Acked-by: Thomas Gleixner <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help