diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-10 21:21:57 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-10 21:21:57 +0100 |
commit | 060970feee2beea37e837e0a2d557e878e5f8290 (patch) | |
tree | ca77697c9b7f67a633382ab954fde1167e6d77ec /tar | |
parent | 94a0b2783aa58b646260232ecfa3ff93f9b97d6d (diff) |
Cleanup: Use stat structs instead of hooks in tar2sqfs/gensquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar')
-rw-r--r-- | tar/tar2sqfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c index b180739..856a1f4 100644 --- a/tar/tar2sqfs.c +++ b/tar/tar2sqfs.c @@ -305,9 +305,6 @@ static int write_file(tar_header_decoded_t *hdr, file_info_t *fi, ret = write_data_from_file(hdr->name, sqfs.data, inode, file, 0); file->destroy(file); - sqfs.stats.bytes_read += filesize; - sqfs.stats.file_count += 1; - if (ret) return -1; |