summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-18 15:57:24 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-18 16:11:36 +0100
commitf4604f8d0bb66ad7a777877dd01b069a82e1b18d (patch)
tree7299607434b9d8186fa704f467a5ab6984cf23d1
parent2777dfe050359c359233b2f00dfb5c3b2dba4ed6 (diff)
Cleanup: remove the unused "block_size" from the fstree
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--include/fstree.h1
-rw-r--r--tests/mknode_reg.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/fstree.h b/include/fstree.h
index dd1440e..c06efa7 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -82,7 +82,6 @@ struct tree_node_t {
/* Encapsulates a file system tree */
struct fstree_t {
struct stat defaults;
- size_t block_size;
size_t unique_inode_count;
tree_node_t *root;
diff --git a/tests/mknode_reg.c b/tests/mknode_reg.c
index 9d5267f..26e42b7 100644
--- a/tests/mknode_reg.c
+++ b/tests/mknode_reg.c
@@ -19,7 +19,6 @@ int main(void)
fstree_t fs;
memset(&fs, 0, sizeof(fs));
- fs.block_size = 512;
memset(&sb, 0, sizeof(sb));
sb.st_mode = S_IFREG | 0654;