summaryrefslogtreecommitdiff
path: root/lib/sqfs/blk_proc/internal.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-24 01:55:08 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-24 01:55:08 +0200
commit87d577a66eb3b1aaca91c4841445cccaf151ee81 (patch)
treea18d674c9949bc75db584218ab2fa227a2f2b752 /lib/sqfs/blk_proc/internal.h
parent824423a9d2395514101cb837c2ede5473cf106ce (diff)
Process completed blocks one-by-one
This commit makes sure the block processor enqueue function dequeues at most a single block which it dispatches. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/blk_proc/internal.h')
-rw-r--r--lib/sqfs/blk_proc/internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqfs/blk_proc/internal.h b/lib/sqfs/blk_proc/internal.h
index 8cb1a23..ac628c8 100644
--- a/lib/sqfs/blk_proc/internal.h
+++ b/lib/sqfs/blk_proc/internal.h
@@ -97,7 +97,7 @@ SQFS_INTERNAL
int sqfs_block_process(sqfs_block_t *block, sqfs_compressor_t *cmp,
uint8_t *scratch, size_t scratch_size);
-SQFS_INTERNAL int process_completed_blocks(sqfs_block_processor_t *proc,
- sqfs_block_t *queue);
+SQFS_INTERNAL int process_completed_block(sqfs_block_processor_t *proc,
+ sqfs_block_t *block);
#endif /* INTERNAL_H */