Re: [PATCH 1/2] cgroup: Check for ret during cgroup1_base_files cft addition

From: Tejun Heo
Date: Mon Sep 18 2023 - 14:57:57 EST


On Tue, Sep 12, 2023 at 12:34:34PM +0530, Kamalesh Babulal wrote:
> There is no check for possible failure while populating
> cgroup1_base_files cft in css_populate_dir(), like its cgroup v2 counter
> parts cgroup_{base,psi}_files. In case of failure, the cgroup might not
> be set up right. Add ret value check to return on failure.
>
> Signed-off-by: Kamalesh Babulal <kamalesh.babulal@xxxxxxxxxx>

Applied to cgroup/for-6.7 with double spaces removed.

Thanks.

--
tejun