[Concept,0/9] Align ext4l with Linux kernel v6.19 implementation

Message ID 20260107234426.3508161-1-sjg@u-boot.org
Headers
Series Align ext4l with Linux kernel v6.19 implementation |

Message

Simon Glass Jan. 7, 2026, 11:44 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

This series continues aligning ext4l with the Linux kernel ext4 code.
It adds helper macros for block/page conversions, folio operations,
and inode state accessors, then uses them throughout the codebase.

Several files are updated to match Linux more closely, reducing the
diff when comparing against upstream. This makes future syncs easier
and improves code consistency.


Simon Glass (9):
  fs: ext4l: Add inode state accessor functions
  fs: ext4l: Add block conversion macros and use them
  fs: ext4l: Add m_seq field to ext4_map_blocks struct
  fs: ext4l: Add folio helper macros
  fs: ext4l: Align verity.c, symlink.c and hash.c with Linux
  fs: ext4l: Use EXT4_MAX_ORPHAN_FILE_BLOCKS in orphan.c
  fs: ext4l: Align ialloc.c, inode.c et al with Linux
  fs: ext4l: Rename EXT4_GET_BLOCKS_PRE_IO flag
  fs: ext4l: Use conversion macros in inode.c

 fs/ext4l/ext4.h           | 27 +++++++++++---
 fs/ext4l/ext4_uboot.h     | 60 ++++++++++++++++++++++++++++++
 fs/ext4l/extents.c        | 20 +++++-----
 fs/ext4l/extents_status.c |  2 +-
 fs/ext4l/extents_status.h |  2 +-
 fs/ext4l/hash.c           |  2 +-
 fs/ext4l/ialloc.c         |  1 -
 fs/ext4l/inode.c          | 77 +++++++++++++++++----------------------
 fs/ext4l/ioctl.c          |  4 ++
 fs/ext4l/orphan.c         |  8 ++--
 fs/ext4l/readpage.c       |  7 +---
 fs/ext4l/verity.c         |  2 +-
 fs/ext4l/xattr.c          |  6 ++-
 13 files changed, 146 insertions(+), 72 deletions(-)