aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-16 21:42:00 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-16 22:47:59 +0200
commit74a064d9f15fa2d534e8b2d1ade68d10d5b65dfd (patch)
tree01e4847178600e2e034af4c4c88f49386078bb55 /include
parent14a925f6da442ecade7df75eb46a6edb9a1499af (diff)
Fix directory index creation
Digging around in kernel internals and mksquashfs reveals that it is actually a buffer offset into the raw directory buffer. The error hasn't been noted until now because of the bug fixed by a5428e0. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/meta_writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/meta_writer.h b/include/meta_writer.h
index c10dd16..09d7456 100644
--- a/include/meta_writer.h
+++ b/include/meta_writer.h
@@ -10,7 +10,7 @@
typedef struct {
tree_node_t *node;
uint32_t block;
- uint32_t offset;
+ uint32_t index;
} idx_ref_t;
typedef struct {