f2fs: fix f2fs_write_meta_page at no checkpoint status
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 5 Feb 2014 04:03:57 +0000 (13:03 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 17 Feb 2014 05:58:53 +0000 (14:58 +0900)
If f2fs entered errorneous checkpoint status, it should skip writing meta
pages instead of redirtying the pages out.
Otherwise, it cannot unmount the partition even though f2fs is under read-only
status.

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

Simple merge
diff --cc fs/f2fs/gc.c
Simple merge