public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/5] ext4: endianess fixes
@ 2016-08-23  8:27 Michael Walle
  2016-08-23  8:27 ` [U-Boot] [PATCH v2 1/5] ext4: change structure fields to __le/__be types Michael Walle
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Michael Walle @ 2016-08-23  8:27 UTC (permalink / raw)
  To: u-boot

From: Michael Walle <michael.walle@kontron.com>

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

Changes:
 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 (5):
  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()
  ext4: optimize direntlen loops

 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-28 20:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-23  8:27 [U-Boot] [PATCH v2 0/5] ext4: endianess fixes Michael Walle
2016-08-23  8:27 ` [U-Boot] [PATCH v2 1/5] ext4: change structure fields to __le/__be types Michael Walle
2016-08-23  8:27 ` [U-Boot] [PATCH v2 2/5] ext4: use kernel names for byte swaps Michael Walle
2016-08-23  8:27 ` [U-Boot] [PATCH v2 3/5] ext4: fix endianess problems in ext4 write support Michael Walle
2016-08-23  8:27 ` [U-Boot] [PATCH v2 4/5] ext4: fix wrong usage of le32_to_cpu() Michael Walle
2016-08-23  8:27 ` [U-Boot] [PATCH v2 5/5] ext4: optimize direntlen loops Michael Walle
2016-08-28 20:55   ` Stefan Bruens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox