summaryrefslogtreecommitdiff
path: root/tar/tar2sqfs.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-02-22 23:37:18 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-02-22 23:37:18 +0100
commitaecc6dc5a9971eb4f1309f0754b0f213347c4d11 (patch)
tree08de6320e3dbdfff50df2d240b4b0031f428a6d3 /tar/tar2sqfs.c
parentf1468f6da2dab9c1449f9f5e500159bcf733045e (diff)
Move inode size accounting completely to the block processor
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar/tar2sqfs.c')
-rw-r--r--tar/tar2sqfs.c3
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) {