Re: [PATCH -next] cgroup/pids: remove pids_cancel_attach

From: Tejun Heo
Date: Thu May 16 2024 - 21:46:28 EST


On Fri, May 17, 2024 at 01:30:01AM +0000, Chen Ridong wrote:
> In pids subsystem, pids_can_attach never returns an error.
> Therefore, pids_cancel_attach is unnecessary and is never called.
> As a result, it should be removed.

There are subsystems which can tho and if pids is being migrated together,
its cancel will be called.

Thanks.

--
tejun