+4
-4
fs/erofs/erofs_fs.h
+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 {