From aecc6dc5a9971eb4f1309f0754b0f213347c4d11 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 22 Feb 2020 23:37:18 +0100 Subject: Move inode size accounting completely to the block processor Signed-off-by: David Oberhollenzer --- tar/tar2sqfs.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tar') diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c index 51987fe..f505f6b 100644 --- a/tar/tar2sqfs.c +++ b/tar/tar2sqfs.c @@ -276,9 +276,6 @@ static int write_file(tar_header_decoded_t *hdr, file_info_t *fi, } inode->base.type = SQFS_INODE_FILE; - sqfs_inode_set_file_size(inode, filesize); - sqfs_inode_set_frag_location(inode, 0xFFFFFFFF, 0xFFFFFFFF); - fi->user_ptr = inode; if (hdr->sparse != NULL) { -- cgit v1.2.3