From 1bf363ba52025a0cf504b313878ea99c174a1683 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 21 Sep 2019 03:58:43 +0200 Subject: 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 --- tar/Makemodule.am | 2 +- tar/tar2sqfs.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'tar') 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: -- cgit v1.2.3