patch-2.3.99-pre9 linux/fs/hfs/hfs_btree.h

Next file: linux/fs/hfs/mdb.c
Previous file: linux/fs/hfs/hfs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/fs/hfs/hfs_btree.h linux/fs/hfs/hfs_btree.h
@@ -90,7 +90,7 @@
         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 @@
 	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

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)