erofs: add __packed annotation to union(__le16..)

I'm unsure why they aren't 2 bytes in size only in arm-linux-gnueabi.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202504051202.DS7QIknJ-lkp@intel.com
Fixes: 61ba89b57905 ("erofs: add 48-bit block addressing on-disk support")
Fixes: efb2aef569b3 ("erofs: add encoded extent on-disk definition")
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250408114448.4040220-1-hsiangkao@linux.alibaba.com

Gao Xiang d385f15d 1595f153

Changed files
+4 -4
fs
erofs
+4 -4
fs/erofs/erofs_fs.h
··· 56 56 union { 57 57 __le16 rootnid_2b; /* nid of root directory */ 58 58 __le16 blocks_hi; /* (48BIT on) blocks count MSB */ 59 - } rb; 59 + } __packed rb; 60 60 __le64 inos; /* total valid ino # (== f_files - f_favail) */ 61 61 __le64 epoch; /* base seconds used for compact inodes */ 62 62 __le32 fixed_nsec; /* fixed nanoseconds for compact inodes */ ··· 148 148 __le16 nlink; /* if EROFS_I_NLINK_1_BIT is unset */ 149 149 __le16 blocks_hi; /* total blocks count MSB */ 150 150 __le16 startblk_hi; /* starting block number MSB */ 151 - }; 151 + } __packed; 152 152 153 153 /* 32-byte reduced form of an ondisk inode */ 154 154 struct erofs_inode_compact { ··· 369 369 * bit 7 : pack the whole file into packed inode 370 370 */ 371 371 __u8 h_clusterbits; 372 - }; 372 + } __packed; 373 373 __le16 h_extents_hi; /* extent count MSB */ 374 - }; 374 + } __packed; 375 375 }; 376 376 377 377 enum {