Message ID | 20220610194435.2268290-3-yosryahmed@google.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | BPF |
Headers | show |
Series | bpf: rstat: cgroup hierarchical stats | expand |
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 0d1ada8968d75..7485a2f939119 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h @@ -757,6 +757,9 @@ static inline struct cgroup *cgroup_get_from_id(u64 id) { return NULL; } + +static inline void cgroup_put(struct cgroup *cgrp) +{} #endif /* !CONFIG_CGROUPS */ #ifdef CONFIG_CGROUPS