[PATCH 6/8] cgroup: cgroup namespace setns support

Tejun Heo tj at kernel.org
Tue Nov 24 16:52:51 UTC 2015


On Mon, Nov 16, 2015 at 01:51:43PM -0600, serge at hallyn.com wrote:
> @@ -85,10 +85,27 @@ err_out:
>  	return ERR_PTR(err);
>  }
>  
> -static int cgroupns_install(struct nsproxy *nsproxy, void *ns)
> +static inline struct cgroup_namespace *to_cg_ns(struct ns_common *ns) {
> +	return container_of(ns, struct cgroup_namespace, ns);
> +}

Heh, what's up with the formatting?  Please update the patches to
conform to Documentation/CodingStyle in general.

Thanks.

-- 
tejun


More information about the Containers mailing list