aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs/block_processor/winpthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/block_processor/winpthread.c')
-rw-r--r--lib/sqfs/block_processor/winpthread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqfs/block_processor/winpthread.c b/lib/sqfs/block_processor/winpthread.c
index 44c62f1..afd66c1 100644
--- a/lib/sqfs/block_processor/winpthread.c
+++ b/lib/sqfs/block_processor/winpthread.c
@@ -344,7 +344,8 @@ static int append_to_work_queue(sqfs_block_processor_t *proc,
SIGNAL_ALL(&thproc->queue_cond);
}
} else {
- if (!(blk->flags & SQFS_BLK_FRAGMENT_BLOCK))
+ if (!(blk->flags & SQFS_BLK_FRAGMENT_BLOCK) ||
+ blk->flags & BLK_FLAG_MANUAL_SUBMISSION)
blk->io_seq_num = thproc->io_enq_id++;
store_io_block(thproc, blk);
}