From ce33fefd5c0e4238855551e6f5f75fc106f141b7 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 20 May 2019 12:18:54 +0200 Subject: cleanup: remove squashfs type from fstree nodes Signed-off-by: David Oberhollenzer --- include/fstree.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'include/fstree.h') 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; -- cgit v1.2.3