summaryrefslogtreecommitdiffstats
path: root/fs/hfs/hfs_btree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hfs/hfs_btree.h')
-rw-r--r--fs/hfs/hfs_btree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfs/hfs_btree.h b/fs/hfs/hfs_btree.h
index 97423b350..39d6df4d5 100644
--- a/fs/hfs/hfs_btree.h
+++ b/fs/hfs/hfs_btree.h
@@ -90,7 +90,7 @@ struct BTHdrRec {
hfs_byte_t bthResv2; /* reserved */
hfs_lword_t bthAtrb; /* (F) attributes */
hfs_lword_t bthResv3[16]; /* Reserved */
-};
+} __attribute__((packed));
/*
* struct NodeDescriptor
@@ -112,7 +112,7 @@ struct NodeDescriptor {
hfs_byte_t ndNHeight; /* (F) The level of this node (leaves=1) */
hfs_word_t ndNRecs; /* (V) The number of records in this node */
hfs_word_t ndResv2; /* Reserved */
-};
+} __attribute__((packed));
/*
* typedef hfs_cmpfn