diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-22 23:37:18 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-02-22 23:37:18 +0100 |
commit | aecc6dc5a9971eb4f1309f0754b0f213347c4d11 (patch) | |
tree | 08de6320e3dbdfff50df2d240b4b0031f428a6d3 /tar | |
parent | f1468f6da2dab9c1449f9f5e500159bcf733045e (diff) |
Move inode size accounting completely to the block processor
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 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) { |