fsck.f2fs: fix to set large section type during allocation
authorChao Yu <yuchao0@huawei.com>
Fri, 9 Aug 2019 10:52:59 +0000 (18:52 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 27 Aug 2019 21:51:05 +0000 (14:51 -0700)
commit207e2d7a03d9f158d881d32bdc9fc103209663cd
tree71a5618f2b34c4e3415016a20735737658711047
parenta624d790f202ba8a208ef221d638d76df4a49895
fsck.f2fs: fix to set large section type during allocation

During block allocation in large free section, we need to change
all sub segments' type in it, otherwise, we will fail to allocate
block in non-first segment due to mismatch seg-type.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/mount.c