From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Walle Date: Tue, 23 Aug 2016 10:27:37 +0200 Subject: [U-Boot] [PATCH v2 0/5] ext4: endianess fixes Message-ID: <1471940862-6663-1-git-send-email-michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Michael Walle 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