aboutsummaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-21 03:58:43 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-21 04:00:59 +0200
commit1bf363ba52025a0cf504b313878ea99c174a1683 (patch)
tree008dfad25d61e84a6730b03bf7606a7266f7dd85 /tar
parent544575bd09378dcf573e33a315628ecc193925e7 (diff)
Minor fstree related cleanup
- file list is no longer needed for statistics - the size field in the directory info structure is no longer in use - sqfs2tar, rdsquashfs and sqfsdiff no longer depend on libfstree.a Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar')
-rw-r--r--tar/Makemodule.am2
-rw-r--r--tar/tar2sqfs.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/tar/Makemodule.am b/tar/Makemodule.am
index 11e4f67..e532fad 100644
--- a/tar/Makemodule.am
+++ b/tar/Makemodule.am
@@ -1,5 +1,5 @@
sqfs2tar_SOURCES = tar/sqfs2tar.c
-sqfs2tar_LDADD = libsqfshelper.a libsquashfs.la libtar.a libfstree.a libutil.la
+sqfs2tar_LDADD = libsqfshelper.a libsquashfs.la libtar.a libutil.la
tar2sqfs_SOURCES = tar/tar2sqfs.c
tar2sqfs_LDADD = libsqfshelper.a libsquashfs.la libtar.a libfstree.a libutil.la
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index 84d56f4..dd0f827 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -486,10 +486,8 @@ int main(int argc, char **argv)
if (padd_sqfs(outfile, super.bytes_used, devblksize))
goto out;
- if (!quiet) {
- fstree_gen_file_list(&fs);
+ if (!quiet)
sqfs_print_statistics(&super, data_writer_get_stats(data));
- }
status = EXIT_SUCCESS;
out: