Re: [PATCH 2/3] ns: simplify ns_common_init() further

From: Thomas Gleixner

Date: Mon Sep 22 2025 - 17:36:57 EST


On Mon, Sep 22 2025 at 14:42, Christian Brauner wrote:
> Simply derive the ns operations from the namespace type.
>
> Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx>
> ---
> fs/namespace.c | 4 ++--
> include/linux/ns_common.h | 30 ++++++++++++++++++++++++++----
> ipc/namespace.c | 2 +-
> kernel/cgroup/namespace.c | 2 +-
> kernel/pid_namespace.c | 2 +-
> kernel/time/namespace.c | 2 +-

Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>