Commit e2a9b819 authored by Yipeng Zou's avatar Yipeng Zou
Browse files

Revert "sched: clear credit count in error branch"

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8TNSV


CVE: NA

--------------------------------

There is no need fix this error branch in OLK-5.10.

This reverts commit 2f31dbde.

Signed-off-by: default avatarYipeng Zou <zouyipeng@huawei.com>
parent 2380c87d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2068,7 +2068,7 @@ static __latent_entropy struct task_struct *copy_process(
#ifdef CONFIG_QOS_SCHED_DYNAMIC_AFFINITY
	retval = sched_prefer_cpus_fork(p, current->prefer_cpus);
	if (retval)
		goto bad_fork_cleanup_count;
		goto bad_fork_free;
#endif

	lockdep_assert_irqs_enabled();