Re: [U-Boot] [PATCH v2 1/4] fs/ext4: Fix group descriptor checksum calculation

2017-09-26 Thread Tom Rini
On Tue, Sep 26, 2017 at 07:04:06PM +0300, Tuomas Tynkkynen wrote: > On 09/26/2017 06:25 PM, Tom Rini wrote: > >On Mon, Sep 25, 2017 at 10:06:31PM +0300, Tuomas Tynkkynen wrote: > >>The current code doesn't compute the group descriptor checksum correctly > >>for the filesystems that e2fsprogs 1.43.4

Re: [U-Boot] [PATCH v2 1/4] fs/ext4: Fix group descriptor checksum calculation

2017-09-26 Thread Tuomas Tynkkynen
On 09/26/2017 06:25 PM, Tom Rini wrote: On Mon, Sep 25, 2017 at 10:06:31PM +0300, Tuomas Tynkkynen wrote: The current code doesn't compute the group descriptor checksum correctly for the filesystems that e2fsprogs 1.43.4 creates (they have 'Group descriptor size: 64' as reported by tune2fs). Ext

Re: [U-Boot] [PATCH v2 1/4] fs/ext4: Fix group descriptor checksum calculation

2017-09-26 Thread Tom Rini
On Mon, Sep 25, 2017 at 10:06:31PM +0300, Tuomas Tynkkynen wrote: > The current code doesn't compute the group descriptor checksum correctly > for the filesystems that e2fsprogs 1.43.4 creates (they have > 'Group descriptor size: 64' as reported by tune2fs). Extend the checksum > calculation to be

[U-Boot] [PATCH v2 1/4] fs/ext4: Fix group descriptor checksum calculation

2017-09-25 Thread Tuomas Tynkkynen
The current code doesn't compute the group descriptor checksum correctly for the filesystems that e2fsprogs 1.43.4 creates (they have 'Group descriptor size: 64' as reported by tune2fs). Extend the checksum calculation to be done as ext4_group_desc_csum() does in Linux. This fixes these errors in