diff options
Diffstat (limited to 'fs/f2fs/gc.c')
-rw-r--r-- | fs/f2fs/gc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index 7151d7de7d95..b197a2f2993a 100644 --- a/fs/f2fs/gc.c +++ b/fs/f2fs/gc.c | |||
@@ -695,9 +695,9 @@ int f2fs_gc(struct f2fs_sb_info *sbi) | |||
695 | int gc_type = BG_GC; | 695 | int gc_type = BG_GC; |
696 | int nfree = 0; | 696 | int nfree = 0; |
697 | int ret = -1; | 697 | int ret = -1; |
698 | struct cp_control cpc = { | 698 | struct cp_control cpc; |
699 | .reason = CP_SYNC, | 699 | |
700 | }; | 700 | cpc.reason = test_opt(sbi, FASTBOOT) ? CP_UMOUNT : CP_SYNC; |
701 | 701 | ||
702 | INIT_LIST_HEAD(&ilist); | 702 | INIT_LIST_HEAD(&ilist); |
703 | gc_more: | 703 | gc_more: |