]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: kill __packed for on-disk structures
authorGao Xiang <gaoxiang25@huawei.com>
Wed, 4 Sep 2019 02:08:51 +0000 (10:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2019 18:10:07 +0000 (20:10 +0200)
commitaf10cbb3a0f8daa3781ca9b8631d8bff3819e7be
tree28adb4382a5595997ca64a1bd57ca60bcb0268c7
parent749987955e09138511edb82c1c47dd732d96aa34
erofs: kill __packed for on-disk structures

As Christoph suggested "Please don't add __packed" [1],
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] https://lore.kernel.org/r/20190829095954.GB20598@infradead.org/
Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Link: https://lore.kernel.org/r/20190904020912.63925-5-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/erofs/erofs_fs.h