Skip to content
Snippets Groups Projects
Commit 8b415f70 authored by Rommel Custodio's avatar Rommel Custodio Committed by Tom Rini
Browse files

ext4fs: le32_to_cpu() used on a 16-bit field


Fix reading ext4_extent_header struture on BE machines.  Some 16 bit
fields where converted to 32 bit fields, due to the byte swap on BE
machines the containing value was corrupted. Therefore reading ext4
filesystems on BE machines where broken before.

Signed-off-by: default avatarRommel Custodio <sessyargc+uboot@gmail.com>
[sent via git-send-email; rework commit message]
Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarLukasz Majewski <l.majewski@samsung.com>
parent b899fa39
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment