From: Namjae Jeon Date: Sat, 2 Feb 2013 14:52:42 +0000 (+0900) Subject: f2fs: mark gc_thread as NULL when thread creation is failed X-Git-Tag: v3.9-rc1~67^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25718423ea6f7118f9c173adff0fac52414571b8;p=pandora-kernel.git f2fs: mark gc_thread as NULL when thread creation is failed When gc thread creation is failed, mark gc_thread as NULL to avoid crash while trying to stop invalid thread in stop_gc_thread->kthread_stop. Instead make it return from: if (!gc_th) return; Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed