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-Tag: Release-2010-05/1~3^2~165 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6729f5e7581ccaa1863ed50c4044fe2a4c366630;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