[PATCH OLK-5.10 v8 10/20] sched: clear credit count in error branch