mkfs.f2fs: support formating large size file in 32-bits platform
authorChao Yu <yuchao0@huawei.com>
Wed, 17 Oct 2018 01:40:56 +0000 (09:40 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 21 Nov 2018 19:38:23 +0000 (11:38 -0800)
commite599deb2385ef592d39d61318f1753a611cb0ea5
tree0b93049cd92b7f6842b8de8611863ce258c2b35e
parent0057a8c5c2281b2512fe74fe33cdd6c9a8d8d877
mkfs.f2fs: support formating large size file in 32-bits platform

In 32-bits platform, {f,}stat on a large size file during mkfs, it will
cause EOVERFLOW error, this patch fixes to add macro definition
_FILE_OFFSET_BITS to avoid that error.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
lib/libf2fs.c
mkfs/f2fs_format_utils.c