summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sqfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqfs/super.c b/lib/sqfs/super.c
index c5b6fe9..0257453 100644
--- a/lib/sqfs/super.c
+++ b/lib/sqfs/super.c
@@ -29,6 +29,7 @@ int sqfs_super_init(sqfs_super_t *super, size_t block_size, sqfs_u32 mtime,
super->block_size = block_size;
super->compression_id = compressor;
super->flags = SQFS_FLAG_NO_FRAGMENTS | SQFS_FLAG_NO_XATTRS;
+ super->flags |= SQFS_FLAG_NO_DUPLICATES;
super->version_major = SQFS_VERSION_MAJOR;
super->version_minor = SQFS_VERSION_MINOR;
super->bytes_used = sizeof(*super);