summaryrefslogtreecommitdiff
path: root/tests/gen_inode_table.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-29 01:45:59 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-29 01:46:39 +0200
commit89d0a57e2271db304fdf2ed7d31947c9a3418940 (patch)
treeeb37df0fb3bbcc1415873bf1c679ab552f6c8e8d /tests/gen_inode_table.c
parentdb519e0d3a9fd5a8c35d66341b37def7be813d89 (diff)
Cleanup: fstree no longer has any use for the block size
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/gen_inode_table.c')
-rw-r--r--tests/gen_inode_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gen_inode_table.c b/tests/gen_inode_table.c
index cf140c8..55f543e 100644
--- a/tests/gen_inode_table.c
+++ b/tests/gen_inode_table.c
@@ -54,7 +54,7 @@ int main(void)
fstree_t fs;
// inode table for the empty tree
- assert(fstree_init(&fs, 0, NULL) == 0);
+ assert(fstree_init(&fs, NULL) == 0);
assert(fstree_gen_inode_table(&fs) == 0);
assert(fs.inode_tbl_size == 3);
assert(fs.root->inode_num == 2);
@@ -64,7 +64,7 @@ int main(void)
fstree_cleanup(&fs);
// tree with 2 levels under root, fan out 3
- assert(fstree_init(&fs, 0, NULL) == 0);
+ assert(fstree_init(&fs, NULL) == 0);
a = gen_node(fs.root, "a");
b = gen_node(fs.root, "b");