projects
/
project
/
fstools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libfstools: Fix overflow of F2FS_MINSIZE constant
[project/fstools.git]
/
libfstools
/
rootdisk.c
diff --git
a/libfstools/rootdisk.c
b/libfstools/rootdisk.c
index 68a6296c401a64167d12059bf90e551fab10a6da..5a6dcb9fc9aa66987630d0ff53e6796c3fda263b 100644
(file)
--- a/
libfstools/rootdisk.c
+++ b/
libfstools/rootdisk.c
@@
-11,7
+11,6
@@
* GNU General Public License for more details.
*/
* GNU General Public License for more details.
*/
-#define F2FS_MINSIZE (100 * 1024 * 1024)
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
@@
-31,6
+30,7
@@
#include <linux/loop.h>
#define ROOTDEV_OVERLAY_ALIGN (64ULL * 1024ULL)
#include <linux/loop.h>
#define ROOTDEV_OVERLAY_ALIGN (64ULL * 1024ULL)
+#define F2FS_MINSIZE (100ULL * 1024ULL * 1024ULL)
struct squashfs_super_block {
uint32_t s_magic;
struct squashfs_super_block {
uint32_t s_magic;