Commits
Alexey Dobriyan authored 5b4d3cddfd0
CFQ: use correct cfq_bc in cfq_del_cfqq_rr() If ->active_cfq_bc is NULL there for some reason, we won't delete cfq queue from service tree and silently return. It will also have no pending requests. Next time someone will find this queue in service tree and try to dispatch from there, BUG_ON in __cfq_dispatch_requests() will trigger. The solution is to use cfq_bc from queue itself.