fsck.f2fs: LFS alloc_type must have free segment after blkoff
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 10 Dec 2015 04:30:41 +0000 (20:30 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 11 Dec 2015 23:57:51 +0000 (15:57 -0800)
commit003b102d8a26e82547ecfd89dc36066616b4ffaa
tree2e0f087cce85e5f88c90c79c3370e44e464e35da
parent1a35b5e29df043678b7ce485aee5fb2607d514c8
fsck.f2fs: LFS alloc_type must have free segment after blkoff

This patch checks alloc_type of current segment type.
If it is LFS, the last of segment should have no valid block.

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