Michal Koutný
fa7e439cf9
cgroup: Homogenize cgroup_get_from_id() return value
...
Cgroup id is user provided datum hence extend its return domain to
include possible error reason (similar to cgroup_get_from_fd()).
This change also fixes commit d4ccaf58a8 ("bpf: Introduce cgroup
iter") that would use NULL instead of proper error handling in
d4ccaf58a8 ("bpf: Introduce cgroup iter").
Additionally, neither of: fc_appid_store, bpf_iter_attach_cgroup,
mem_cgroup_get_from_ino (callers of cgroup_get_from_fd) is built without
CONFIG_CGROUPS (depends via CONFIG_BLK_CGROUP, direct, transitive
CONFIG_MEMCG respectively) transitive, so drop the singular definition
not needed with !CONFIG_CGROUPS.
Fixes: d4ccaf58a8 ("bpf: Introduce cgroup iter")
Signed-off-by: Michal Koutný <mkoutny@suse.com >
Signed-off-by: Tejun Heo <tj@kernel.org >
2022-08-26 10:57:41 -10:00
..
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-06-16 10:55:57 +02:00
2022-08-02 12:34:03 -04:00
2022-07-29 18:07:16 -07:00
2022-05-13 15:11:26 -07:00
2022-08-05 16:32:45 -07:00
2022-06-27 12:52:53 -07:00
2022-04-26 13:36:25 -07:00
2022-05-19 14:08:55 -07:00
2022-08-05 16:32:45 -07:00
2022-08-02 12:34:04 -04:00
2022-06-27 12:52:53 -07:00
2022-07-17 17:14:27 -07:00
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-07-29 11:33:37 -07:00
2022-08-05 16:32:45 -07:00
2022-07-29 18:07:17 -07:00
2022-08-08 18:06:43 -07:00
2022-08-08 18:06:43 -07:00
2022-08-08 18:06:44 -07:00
2022-06-16 19:11:32 -07:00
2022-08-05 16:32:45 -07:00
2022-06-27 12:22:31 +01:00
2022-08-10 11:07:26 -07:00
2022-05-27 11:40:49 -07:00
2022-07-17 17:14:33 -07:00
2022-06-16 19:48:32 -07:00
2022-08-05 16:32:45 -07:00
2022-06-16 19:48:31 -07:00
2022-07-17 17:14:28 -07:00
2022-07-03 18:08:40 -07:00
2022-08-09 09:48:30 -07:00
2022-08-26 10:57:41 -10:00
2022-07-29 18:07:20 -07:00
2022-08-08 18:06:44 -07:00
2022-08-05 16:32:45 -07:00
2022-07-29 18:07:16 -07:00
2022-06-16 19:48:30 -07:00
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-05-13 07:20:09 -07:00
2022-07-17 17:14:28 -07:00
2022-07-29 18:07:18 -07:00
2022-04-28 23:16:12 -07:00
2022-04-21 20:01:10 -07:00
2022-07-29 18:07:18 -07:00
2022-05-26 12:32:41 -07:00
2022-07-17 17:14:37 -07:00
2022-06-01 15:57:16 -07:00
2022-08-05 16:32:45 -07:00
2022-04-29 14:36:58 -07:00
2022-05-19 14:08:54 -07:00
2022-05-26 12:32:41 -07:00
2022-06-16 19:11:30 -07:00
2022-05-26 12:32:41 -07:00
2022-05-27 11:29:35 -07:00
2022-07-17 17:14:47 -07:00
2022-07-24 18:39:31 -06:00
2022-05-13 07:20:18 -07:00
2022-07-17 17:14:47 -07:00
2022-05-13 07:20:05 -07:00
2022-06-23 12:22:00 -04:00
2022-08-05 16:32:45 -07:00
2022-08-03 10:35:43 -07:00
2022-08-08 20:04:35 -07:00
2022-07-29 18:07:13 -07:00
2022-07-20 13:30:12 +02:00
2022-08-05 16:32:45 -07:00
2022-07-20 13:30:12 +02:00
2022-07-20 13:30:12 +02:00
2022-07-20 13:30:11 +02:00
2022-08-08 18:06:42 -07:00
2022-07-03 18:08:49 -07:00
2022-07-20 10:52:40 +01:00
2022-08-05 16:32:45 -07:00
2022-08-05 16:32:45 -07:00
2022-07-03 18:08:52 -07:00
2022-07-03 18:08:48 -07:00
2022-06-29 08:51:05 -04:00
2022-07-01 17:03:38 -07:00
2022-07-03 15:42:32 -07:00
2022-08-05 16:32:45 -07:00
2022-07-03 18:08:41 -07:00
2022-08-05 16:32:45 -07:00
2022-06-04 14:04:27 -07:00
2022-07-03 18:08:40 -07:00
2022-08-02 12:34:03 -04:00
2022-08-05 16:32:45 -07:00
2022-05-19 14:08:53 -07:00