]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Extend fields in dirent header
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 11 Dec 2010 17:32:08 +0000 (18:32 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 11 Dec 2010 17:32:08 +0000 (18:32 +0100)
grub-core/fs/squash4.c

index 882f5c95965758fcb9da67fa2858c7ffd1acca52..1c522f893ad191791255ce98c22cd0b48c364681 100644 (file)
@@ -106,11 +106,9 @@ struct grub_squash_inode
 struct grub_squash_dirent_header
 {
   /* Actually the value is the number of elements - 1.  */
-  grub_uint16_t nelems;
-  grub_uint16_t dummy1;
-  grub_uint32_t ino_chunk;
-  grub_uint16_t dummy2[2];
-};
+  grub_uint32_t nelems;
+  grub_uint64_t ino_chunk;
+} __attribute__ ((packed));
 
 struct grub_squash_dirent
 {