diff options
| author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-18 15:55:03 +0100 | 
|---|---|---|
| committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-18 15:55:03 +0100 | 
| commit | 2777dfe050359c359233b2f00dfb5c3b2dba4ed6 (patch) | |
| tree | e120ef9c10295c74dc8c3ec6dfa39aaa665e7f6b /lib/common/writer.c | |
| parent | caf350448c0020f95b9bfdd65770d86faf548549 (diff) | |
Cleanup: merge the fstree post processing functions
Instead of having 3 different functions for sorting the tree, numbering
the nodes and generating a file list, that all have to be used in the
right order, this commit merges them into a single "fstree_post_process"
function.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/common/writer.c')
| -rw-r--r-- | lib/common/writer.c | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/lib/common/writer.c b/lib/common/writer.c index 087ee3c..1bbf6bd 100644 --- a/lib/common/writer.c +++ b/lib/common/writer.c @@ -213,9 +213,6 @@ int sqfs_writer_finish(sqfs_writer_t *sqfs, const sqfs_writer_cfg_t *cfg)  	if (!cfg->quiet)  		fputs("Writing inodes and directories...\n", stdout); -	tree_node_sort_recursive(sqfs->fs.root); -	fstree_gen_inode_numbers(&sqfs->fs); -  	sqfs->super.inode_count = sqfs->fs.unique_inode_count;  	if (sqfs_serialize_fstree(cfg->filename, sqfs)) | 
