diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-26 18:55:04 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-26 18:55:04 +0200 |
commit | 9ed84dac57944149e05646960a715d8f98dabcc5 (patch) | |
tree | 1be14b86b10b96d0549b1839078c0c19c588f77e /lib/sqfs/data_writer/internal.h | |
parent | ff4a9235feb4237854ff102c4dc7cf4645d6a116 (diff) |
Replace the data writer enqueue with "append buffer to current file"
This commit turns the file interface into an actual, generic file
interface and does away with having to move around blocks outside
the data writer. Instead the data writer takes over full control
and responsibility of dividing the input data up into blocks
propperly.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/data_writer/internal.h')
-rw-r--r-- | lib/sqfs/data_writer/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfs/data_writer/internal.h b/lib/sqfs/data_writer/internal.h index 9072c19..1aa600b 100644 --- a/lib/sqfs/data_writer/internal.h +++ b/lib/sqfs/data_writer/internal.h @@ -103,9 +103,9 @@ struct sqfs_data_writer_t { /* file API */ sqfs_inode_generic_t *inode; + sqfs_block_t *blk_current; uint32_t blk_flags; size_t blk_index; - bool had_fragment; /* used only by workers */ size_t max_block_size; |