aboutsummaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/mkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index dc6d082..e36f2f4 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -225,7 +225,7 @@ int main(int argc, char **argv)
fstree_gen_file_list(&fs);
- super.inode_count = fs.inode_tbl_size - 2;
+ super.inode_count = fs.inode_tbl_size;
cmp = sqfs_compressor_create(&cfg);
if (cmp == NULL) {