cgroup: Simplify cgroup_ancestor
authorAndrey Ignatov <rdna@fb.com>
Sat, 22 Sep 2018 00:03:27 +0000 (17:03 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 24 Sep 2018 17:38:16 +0000 (10:38 -0700)
commit808c43b7c7f70360ed7b9e43e2cf980f388e71fa
treeac8a47eb5ec5c786815ddc4c46e7087bfe073ea6
parent02214bfc89c71bcc5167f653994cfa5c57f10ff1
cgroup: Simplify cgroup_ancestor

Simplify cgroup_ancestor function. This is follow-up for
commit 7723628101aa ("bpf: Introduce bpf_skb_ancestor_cgroup_id helper")

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/cgroup.h