From: Vladimir 'phcoder' Serbinenko Date: Sat, 11 Dec 2010 17:32:08 +0000 (+0100) Subject: Extend fields in dirent header X-Git-Tag: 2.00~1264^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea17ec49ae1d5d20b93ad7f1c303aa4d1c0682ff;p=thirdparty%2Fgrub.git Extend fields in dirent header --- diff --git a/grub-core/fs/squash4.c b/grub-core/fs/squash4.c index 882f5c959..1c522f893 100644 --- a/grub-core/fs/squash4.c +++ b/grub-core/fs/squash4.c @@ -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 {