From b57f3fe97074b2a374e52e9fb4920449bcb6b319 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 10 Jul 2019 11:20:33 +0200 Subject: Add a way to keep meta data blocks in memory Instead of writing meta data blocks directly to disk, the writer can now alternatively keep the blocks in memory until explicitly told to write to disk. Signed-off-by: David Oberhollenzer --- lib/sqfs/table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqfs/table.c') diff --git a/lib/sqfs/table.c b/lib/sqfs/table.c index abc95bd..fb6bddc 100644 --- a/lib/sqfs/table.c +++ b/lib/sqfs/table.c @@ -19,7 +19,7 @@ int sqfs_write_table(int outfd, sqfs_super_t *super, const void *data, /* Write actual data. Whenever we cross a block boundary, remember the block start offset */ - m = meta_writer_create(outfd, cmp); + m = meta_writer_create(outfd, cmp, false); if (m == NULL) return -1; -- cgit v1.2.3