diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-10 11:20:33 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-10 11:20:33 +0200 |
commit | b57f3fe97074b2a374e52e9fb4920449bcb6b319 (patch) | |
tree | 502178243213567d7eab3a66d92d69bf22c71fcd /lib/sqfs/table.c | |
parent | 744daf0d3d72e71854f8248dbf2bc0b81fe110ec (diff) |
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/table.c')
-rw-r--r-- | lib/sqfs/table.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |