Skip to content
Commit 2ad49887 authored by Vitaliy Gusev's avatar Vitaliy Gusev Committed by Artem Bityutskiy
Browse files

UBI: Don't exit from ubi_thread until kthread_should_stop() is true



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: default avatarVitaliy Gusev <vgusev@openvz.org>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent b77bcb07
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment