Re: [PATCH 1/3] cgroup: add missing ns_common include
From: Jan Kara
Date: Mon Sep 22 2025 - 09:37:12 EST
On Mon 22-09-25 14:42:35, Christian Brauner wrote:
> Add the missing include of the ns_common header.
>
> Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx>
Sure. Feel free to add:
Reviewed-by: Jan Kara <jack@xxxxxxx>
Honza
> ---
> include/linux/cgroup_namespace.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/cgroup_namespace.h b/include/linux/cgroup_namespace.h
> index b7dbf4d623d2..81ccbdee425b 100644
> --- a/include/linux/cgroup_namespace.h
> +++ b/include/linux/cgroup_namespace.h
> @@ -2,6 +2,8 @@
> #ifndef _LINUX_CGROUP_NAMESPACE_H
> #define _LINUX_CGROUP_NAMESPACE_H
>
> +#include <linux/ns_common.h>
> +
> struct cgroup_namespace {
> struct ns_common ns;
> struct user_namespace *user_ns;
>
> --
> 2.47.3
>
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR