1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-13 20:01:55 +00:00
openmptcprouter/root/package/system/fstools/patches/100-disable-lazy-init.patch
2019-06-05 21:05:07 +02:00

13 lines
559 B
Diff

diff --git a/libfstools/rootdisk.c b/libfstools/rootdisk.c
index dd00c1b..f3b87fc 100644
--- a/libfstools/rootdisk.c
+++ b/libfstools/rootdisk.c
@@ -270,7 +270,7 @@ static int rootdisk_volume_init(struct volume *v)
if (rootdisk_use_f2fs(p))
snprintf(str, sizeof(str), "mkfs.f2fs -q -l rootfs_data %s", v->blk);
else
- snprintf(str, sizeof(str), "mkfs.ext4 -q -L rootfs_data %s", v->blk);
+ snprintf(str, sizeof(str), "mkfs.ext4 -q -E lazy_itable_init=0,lazy_journal_init=0 -L rootfs_data %s", v->blk);
ret = system(str);
break;
default: