diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-14 01:41:38 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-14 04:10:45 +0200 |
commit | f57814332a69bebc40e25e6537a3c08fc9e18f97 (patch) | |
tree | 7ff880b8eb53f4852c6f0be9436f220643219795 /lib/sqfshelper/statistics.c | |
parent | d455ff92da0249e731cff7613f42b0f7359775da (diff) |
Move data deduplication from fstree code to data writer
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfshelper/statistics.c')
-rw-r--r-- | lib/sqfshelper/statistics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfshelper/statistics.c b/lib/sqfshelper/statistics.c index 33ff7cb..0fe325b 100644 --- a/lib/sqfshelper/statistics.c +++ b/lib/sqfshelper/statistics.c @@ -30,7 +30,7 @@ void sqfs_print_statistics(fstree_t *fs, sqfs_super_t *super) } for (sparse = 0, i = 0; i < num_blocks; ++i) { - if (fi->blocks[i].size == 0) + if (fi->block_size[i] == 0) sparse += 1; } |