fsck.f2fs: fix losing journal entries
authorJaegeuk Kim <jaegeuk@kernel.org>
Sun, 20 Dec 2015 07:17:11 +0000 (23:17 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 20 Dec 2015 07:42:31 +0000 (23:42 -0800)
commita828ebb234b7badba730ff3a08304834ca57b7dc
treec560ae74a3b633a86c81d4768ff3eb23e3314818
parent767a93ea8bf1f66cf119830d2a42775395675cd6
fsck.f2fs: fix losing journal entries

If fsck.f2fs reports a bug, move_curseg_info tries to change the current
segment info.
When it changes the new summary block, it overwrites the existing journal
entries.
This patch fixes it not to overwrite journal entry space.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/mount.c