[U-Boot] [PATCH v3 0/4] ext4: endianess fixes

Michael Walle michael at walle.cc
Mon Aug 29 10:46:42 CEST 2016


This patch series fixes write support on big-endianess architectures.

Changes:
 v3:
   - Drop patch 0005. Suggested by Stefan Brüns.
 v2:
   - instead of INC_X/DEC_X macros, use inline functions per structure
     field. Suggested by Stefan Brüns. (patch 0003)
   - optimize "while (dir->direntlen)" loops. Suggested by Stefan Brüns
     (patch 0005)

Michael Walle (4):
  ext4: change structure fields to __le/__be types
  ext4: use kernel names for byte swaps
  ext4: fix endianess problems in ext4 write support
  ext4: fix wrong usage of le32_to_cpu()

 fs/ext4/ext4_common.c  | 367 ++++++++++++++++++++++++++-----------------------
 fs/ext4/ext4_common.h  |   4 +-
 fs/ext4/ext4_journal.c |  15 +-
 fs/ext4/ext4_journal.h |  44 +++---
 fs/ext4/ext4_write.c   | 222 +++++++++++++++++-------------
 fs/ext4/ext4fs.c       |   2 +-
 include/ext_common.h   | 140 +++++++++----------
 7 files changed, 425 insertions(+), 369 deletions(-)

-- 
2.1.4



More information about the U-Boot mailing list