commit | 2ad49887150894b9ed6a87a76b409adceee6b074 | [log] [tgz] |
---|---|---|
author | Vitaliy Gusev <vgusev@openvz.org> | Wed Nov 05 18:27:18 2008 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Thu Nov 06 11:13:04 2008 +0200 |
tree | 039adb30a0b50f2aac58a81ee25bcdc39df79a22 | |
parent | b77bcb07897f1a9cd9d1d78691896dcdb0fd1a22 [diff] |
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: Vitaliy Gusev <vgusev@openvz.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>