f2fs: write checkpoint before starting FG_GC
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 8 Apr 2013 07:01:00 +0000 (16:01 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 9 Apr 2013 09:21:24 +0000 (18:21 +0900)
commitd64f80473bb58f5c8bfcb63220c31a573a07752f
treebbbe391a029a04b9f0ab3cf2ad16ac99096d6de6
parent3315101f7070013d01bb5396c6bde07b3a8bcbd8
f2fs: write checkpoint before starting FG_GC

In order to be aware of prefree and free sections during FG_GC, let's start with
write_checkpoint().

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/gc.c