hulk inclusion category: bugfix bugzilla: https://atomgit.com/openeuler/kernel/issues/8710 ---------------------------------------- Rename xcu_css_releasd to xcu_css_released to fix a spelling error, ensuring the correct cgroup css_released callback is properly registered. Fixes: 548dc5635411 ("xsched: restructure xcu_cgrp_subsys teardown to align with cpu_cgrp_subsys lifecycle") Signed-off-by: Liu Kai <liukai284@huawei.com> --- kernel/xsched/cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/xsched/cgroup.c b/kernel/xsched/cgroup.c index 437a1f9cf187..73f044475939 100644 --- a/kernel/xsched/cgroup.c +++ b/kernel/xsched/cgroup.c @@ -296,7 +296,7 @@ static void xcu_css_offline(struct cgroup_subsys_state *css) } } -static void xcu_css_releasd(struct cgroup_subsys_state *css) +static void xcu_css_released(struct cgroup_subsys_state *css) { struct xsched_group *xcg = xcu_cg_from_css(css); @@ -757,7 +757,7 @@ struct cgroup_subsys xcu_cgrp_subsys = { .css_alloc = xcu_css_alloc, .css_online = xcu_css_online, .css_offline = xcu_css_offline, - .css_released = xcu_css_releasd, + .css_released = xcu_css_released, .css_free = xcu_css_free, .can_attach = xcu_can_attach, .cancel_attach = xcu_cancel_attach, -- 2.34.1