[RFC v2 01/18] cgroup: Added cgroup_get_from_kernfs_id

Tejun Heo tj at kernel.org
Mon Oct 19 10:43:16 EDT 2020


On Mon, Oct 19, 2020 at 01:12:56PM +0530, Muneendra wrote:
> Added a new function cgroup_get_from_kernfs_id  to retrieve the cgroup
> associated with cgroup id.
> It takes cgroupid as an argument and returns cgrp and on failure
> it returns NULL.
> Exported the same as this can be used by blk-cgorup.c
> 
> Added function declaration of cgroup_get_from_kernfs_id in cgorup.h
> 
> Signed-off-by: Muneendra <muneendra.kumar at broadcom.com>

Acked-by: Tejun Heo <tj at kernel.org>

Thanks.

-- 
tejun



More information about the Linux-nvme mailing list