libfstools: Fix overflow of F2FS_MINSIZE constant
authorPetr Štetiar <ynezz@true.cz>
Tue, 26 Mar 2019 22:50:47 +0000 (23:50 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Mar 2019 11:43:47 +0000 (12:43 +0100)
commitff1ded63c51e84e239fb422ac8b9d15251d1221f
tree9e5b2458ed4d2e2034086d6a0413d04015c4bdce
parentbc2c876104a6e2dcfc798c9dd09ac1f95784cdeb
libfstools: Fix overflow of F2FS_MINSIZE constant

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>
libfstools/rootdisk.c