From: Vitaliy Gusev Date: Wed, 5 Nov 2008 15:27:18 +0000 (+0300) Subject: UBI: Don't exit from ubi_thread until kthread_should_stop() is true X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0455f4100e7974dcbb816a271b26be0b9bc50f1f;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed