From ca8d566d4a6e22d3c31cb395e95d94dc8b9486a2 Mon Sep 17 00:00:00 2001 From: Namjae Jeon Date: Wed, 30 Jan 2013 22:47:02 +0900 Subject: [PATCH] --- yaml --- r: 358982 b: refs/heads/master c: 3786dfdf4f00755ce5797c0e87eac8f898acb52c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/f2fs/gc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 5366a21bed61..0480e261a5c7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d6212a5f18c8f9f9cc884070a96e11907711217f +refs/heads/master: 3786dfdf4f00755ce5797c0e87eac8f898acb52c diff --git a/trunk/fs/f2fs/gc.c b/trunk/fs/f2fs/gc.c index 9b5d0aad5daf..fb03be68cb20 100644 --- a/trunk/fs/f2fs/gc.c +++ b/trunk/fs/f2fs/gc.c @@ -672,7 +672,7 @@ int f2fs_gc(struct f2fs_sb_info *sbi) if (!(sbi->sb->s_flags & MS_ACTIVE)) goto stop; - if (has_not_enough_free_secs(sbi)) + if (gc_type == BG_GC && has_not_enough_free_secs(sbi)) gc_type = FG_GC; if (!__get_victim(sbi, &segno, gc_type, NO_CHECK_TYPE))