summaryrefslogtreecommitdiff
path: root/include/squashfs.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/squashfs.h
parentfce20510810cd8f5e078cecd113bbcacd2d71516 (diff)
cleanup: remove squashfs type from fstree nodes
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/squashfs.h')
-rw-r--r--include/squashfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/squashfs.h b/include/squashfs.h
index f9df73d..ed3fd38 100644
--- a/include/squashfs.h
+++ b/include/squashfs.h
@@ -13,7 +13,7 @@
#define SQFS_DEVBLK_SIZE 4096
#define SQFS_MAX_DIR_ENT 256
-#define SQFS_DIR_TYPE_MOD 8
+#define SQFS_INODE_EXT_TYPE(type) ((type) - 1 + 8)
typedef struct {
uint32_t magic;