diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-09 01:05:00 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-09 01:13:37 +0100 |
commit | da3add97f8d4a1bb4d14989f5bd0b6f5f7bc9891 (patch) | |
tree | afe96571227a40562a60245a7f521b131b540b50 /lib/sqfs/block_processor/serial.c | |
parent | 940c3e3333ba0063f536dfbecbb77d070dbcc87a (diff) |
Move block writer and fragment table management out of block processor
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/block_processor/serial.c')
-rw-r--r-- | lib/sqfs/block_processor/serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqfs/block_processor/serial.c b/lib/sqfs/block_processor/serial.c index eedb19c..e18b67e 100644 --- a/lib/sqfs/block_processor/serial.c +++ b/lib/sqfs/block_processor/serial.c @@ -11,8 +11,8 @@ sqfs_block_processor_t *sqfs_block_processor_create(size_t max_block_size, sqfs_compressor_t *cmp, unsigned int num_workers, size_t max_backlog, - size_t devblksz, - sqfs_file_t *file) + sqfs_block_writer_t *wr, + sqfs_frag_table_t *tbl) { sqfs_block_processor_t *proc; @@ -22,7 +22,7 @@ sqfs_block_processor_t *sqfs_block_processor_create(size_t max_block_size, return NULL; if (block_processor_init(proc, max_block_size, cmp, num_workers, - max_backlog, devblksz, file)) { + max_backlog, wr, tbl)) { block_processor_cleanup(proc); return NULL; } |