From: Chao Yu Date: Tue, 18 Nov 2014 03:16:01 +0000 (+0800) Subject: f2fs: avoid unable to restart gc thread in remount X-Git-Tag: omap-for-v3.19/fixes-rc1~146^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c0299320318c8154a20a3d9e73cbd1fc58d96e1;p=pandora-kernel.git f2fs: avoid unable to restart gc thread in remount In f2fs_remount, we will stop gc thread and set need_restart_gc as true when new option is set without BG_GC, then if any error occurred in the following procedure, we can restore to start the gc thread. But after that, We will fail to restore gc thread in start_gc_thread as BG_GC is not set in new option, so we'd better move this condition judgment out of start_gc_thread to fix this issue. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed