summaryrefslogtreecommitdiff
path: root/include/fstree.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-20 12:18:54 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-05-20 12:18:54 +0200
commitce33fefd5c0e4238855551e6f5f75fc106f141b7 (patch)
treedcbbec069a1b7448af92835ea2faf59ef72fe406 /include/fstree.h
parentfce20510810cd8f5e078cecd113bbcacd2d71516 (diff)
cleanup: remove squashfs type from fstree nodes
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/fstree.h')
-rw-r--r--include/fstree.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/fstree.h b/include/fstree.h
index 27cb39d..6a29093 100644
--- a/include/fstree.h
+++ b/include/fstree.h
@@ -133,20 +133,6 @@ struct tree_node_t {
/* Inode number. Generated on the fly when writing inodes. */
uint32_t inode_num;
- /* SquashFS inode type used for this tree node.
-
- Generated on the fly when writing inodes. It can't be easily
- determined in advance since it depends also on the size of the
- node, which means for directories the size of the directory
- entries once written to disk.
-
- All code that actually processes tree nodes should use the mode
- field instead (mode & S_IFMT gives us the node type). It is stored
- here when generating inodes since we need it later on to generate
- directory entries.
- */
- int type;
-
/* Type specific data. Pointers are into payload area blow. */
union {
dir_info_t *dir;