f2fs-tools: add the max chunk size limit in sparse image
authorGao Ming <gaoming20@huawei.com>
Mon, 15 Oct 2018 13:24:57 +0000 (21:24 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 21 Nov 2018 19:38:23 +0000 (11:38 -0800)
commit7dfb93ff362d75801b8c989441a6fa3cab84fecb
tree94235baa8e607d610b95102da15fa959531aefbb
parentbdcf700f71500378ba1b26e6e9aab84421bdf931
f2fs-tools: add the max chunk size limit in sparse image

Malloc Failure occurs in 32bit Windows, when using fastboot.exe flash the
 f2fs sparse image filling with  up to 2G chunk size.

Signed-off-by: Gao Ming <gaoming20@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
lib/libf2fs_io.c