I wasn't able to to use f2fs on armvirt/32 platform and I've found out
that it was due to F2FS_MINSIZE constant overflow leading to value of 13
exabytes instead of 100 megabytes.
Acked-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
* GNU General Public License for more details.
*/
-#define F2FS_MINSIZE (100 * 1024 * 1024)
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
#include <linux/loop.h>
#define ROOTDEV_OVERLAY_ALIGN (64ULL * 1024ULL)
+#define F2FS_MINSIZE (100ULL * 1024ULL * 1024ULL)
struct squashfs_super_block {
uint32_t s_magic;