diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c index f22782a0defe6bc5e52aa13b2f206f1287516afa..cd2e030e47b88db5bb0a8d8dea2c10675efb1da9 100644 --- a/fs/f2fs/sysfs.c +++ b/fs/f2fs/sysfs.c @@ -253,6 +253,7 @@ static ssize_t __sbi_store(struct f2fs_attr *a, if (t >= 1) { sbi->gc_mode = GC_URGENT; if (sbi->gc_thread) { + sbi->gc_thread->gc_wake = 1; wake_up_interruptible_all( &sbi->gc_thread->gc_wait_queue_head); wake_up_discard_thread(sbi, true);