mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 13:23:45 +00:00
If ubi_thread() exits but kthread_should_stop() is not true then kthread_stop() will never return and cleanup thread will forever stay in "D" state. Signed-off-by: Vitaliy Gusev <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]>