Re: [PATCH v3 4/7] erofs: kill __packed for on-disk structures

2019-08-30 Thread Chao Yu
On 2019/8/30 11:36, Gao Xiang wrote: > As Christoph claimed "Please don't add __packed" [1], > I have to remove all __packed except struct erofs_dirent here. > > Note that all on-disk fields except struct erofs_dirent > (12 bytes with a 8-byte nid) in EROFS are naturally aligned. > > [1]

[PATCH v3 4/7] erofs: kill __packed for on-disk structures

2019-08-29 Thread Gao Xiang
As Christoph claimed "Please don't add __packed" [1], I have to remove all __packed except struct erofs_dirent here. Note that all on-disk fields except struct erofs_dirent (12 bytes with a 8-byte nid) in EROFS are naturally aligned. [1]