]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Fix sub_detach op check to test the parent's ops
authorTejun Heo <tj@kernel.org>
Tue, 10 Mar 2026 17:12:21 +0000 (07:12 -1000)
committerTejun Heo <tj@kernel.org>
Tue, 10 Mar 2026 17:12:21 +0000 (07:12 -1000)
commit7e92cf4354e9803cc7b8ed01f38371e0e89d2a0a
tree5cf17d0d5718da18df6aa75ce0aea64d6cb4b6a7
parent98059335382dc5870207d6a0c1c9e7a004d627ad
sched_ext: Fix sub_detach op check to test the parent's ops

sub_detach is the parent's op called to notify the parent that a child
is detaching. Test parent->ops.sub_detach instead of sch->ops.sub_detach.

Fixes: ebeca1f930ea ("sched_ext: Introduce cgroup sub-sched support")
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
kernel/sched/ext.c