summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.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 /mkfs/mkfs.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 'mkfs/mkfs.c')
-rw-r--r--mkfs/mkfs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index 357dad7..691c754 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -110,9 +110,6 @@ static int pack_files(sqfs_block_processor_t *data, fstree_t *fs,
}
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;
flags = 0;