summaryrefslogtreecommitdiff
path: root/lib/sqfs/block_processor/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/block_processor/common.c')
-rw-r--r--lib/sqfs/block_processor/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqfs/block_processor/common.c b/lib/sqfs/block_processor/common.c
index b40ec0f..887a101 100644
--- a/lib/sqfs/block_processor/common.c
+++ b/lib/sqfs/block_processor/common.c
@@ -70,7 +70,8 @@ static int process_completed_block(sqfs_block_processor_t *proc,
int err;
err = proc->wr->write_data_block(proc->wr, blk->user, blk->size,
- blk->checksum, blk->flags,
+ blk->checksum,
+ blk->flags & ~BLK_FLAG_INTERNAL,
blk->data, &location);
if (err)
goto out;