Re: [PATCH cgroup/for-6.1] cgroup: Make cgroup_get_from_id() prettier
From: Michal Koutný
Date: Wed Sep 28 2022 - 07:38:59 EST
On Fri, Sep 23, 2022 at 07:31:58AM -1000, Tejun Heo <tj@xxxxxxxxxx> wrote:
> Ming, Michal, you guys' changes to cgroup_get_from_id() combine to make
> cgroup_get_from_id() a bit too ugly, so I applied the following patch to
> cgroup/for-6.1. Please take a look and lemme know if I broke anything.
The cleanup looks good.
Just for the record, I understand the refernced fix is persisted as
> df02452f3df0 ("cgroup: cgroup_get_from_id() must check the looked-up kn is a directory")
Regards,
Michal