]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7cbc11450923e8ff511b32723e04d7a25e71250
tree81d75a7d692542c64f5bc7d724d0ebe51b98d382
parent1a0383a902dfce394c052f6f6dbe52a1cfe18bb5
f2fs: fix f2fs_write_meta_page at no checkpoint status

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