summaryrefslogtreecommitdiff
path: root/mkfs/mkfs.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-10 21:40:10 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-10 21:40:10 +0200
commit41fd1d4b9cd42eb28bf889719b8ce1a81af444b9 (patch)
treed0ba2b29a49a1acaf9bf260a27192aef524ea095 /mkfs/mkfs.c
parent080d8952ecc441faa32f772c590d6b2e56a57634 (diff)
Make sqfs_write_inodes independend of sqfs_info_t
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/mkfs.c')
-rw-r--r--mkfs/mkfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index 405d6fd..7c3fa28 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -114,8 +114,10 @@ int main(int argc, char **argv)
if (write_data_to_image(&info))
goto out_cmp;
- if (sqfs_write_inodes(&info))
+ if (sqfs_write_inodes(&info.super, &info.fs, info.outfd,
+ info.cmp, &info.idtbl)) {
goto out_cmp;
+ }
info.super.fragment_entry_count = info.num_fragments;