]> Git Repo - u-boot.git/commit
ext4fs: le32_to_cpu() used on a 16-bit field
authorRommel Custodio <[email protected]>
Sun, 21 Jul 2013 08:53:25 +0000 (10:53 +0200)
committerTom Rini <[email protected]>
Mon, 22 Jul 2013 14:09:30 +0000 (10:09 -0400)
commit8b415f703f88d1d3b0466830047affbbf7f24913
tree091065fb1ea38405155a4ed0fffa53a2a82a031d
parentb899fa39019c8fecb508f747525dd8c22622e804
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: Rommel Custodio <[email protected]>
[sent via git-send-email; rework commit message]
Signed-off-by: Andreas Bießmann <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Simon Glass <[email protected]>
Tested-by: Lukasz Majewski <[email protected]>
fs/ext4/ext4_common.c
This page took 0.032741 seconds and 4 git commands to generate.