[GIT PULL] Btrfs fixes for 7.2-rc7, part 1

From: David Sterba

Date: Thu Aug 06 2026 - 15:14:02 EST


Hi,

the following branch contains a few short fixes. This is separate from
the 'fixup worker' pull request, just in case.

Please pull, thanks.

- fix leak in encoded ioctl write

- disable large folios on systems with highmem

- disable block size > page size when there's no transparent hugepage
support (under experimental config)

- reject compressed inline extents without valid LZO headers

- properly initialize cached inode mapping (if block size > page size)

----------------------------------------------------------------
The following changes since commit c4c0673e4cb15b0c127e6d00732a2427bdd12c11:

btrfs: raid56: fix scrub read assembly submitting no reads (2026-07-21 06:44:08 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-7.2-rc6-tag

for you to fetch changes up to 0ef349734a93227b45f65fc50a3311d1cc5f03e9:

btrfs: initialize inode mapping flags for cached inodes (2026-07-31 16:56:05 +0200)

----------------------------------------------------------------
David Lee (1):
btrfs: lzo: reject inline extents without valid headers

Dmitry Antipov (1):
btrfs: fix memory leak in btrfs_do_encoded_write()

Qu Wenruo (3):
btrfs: disable large folios for systems with highmem
btrfs: disable bs > ps support if no transparent hugepage support
btrfs: initialize inode mapping flags for cached inodes

fs/btrfs/Kconfig | 3 ++-
fs/btrfs/disk-io.c | 10 +++++++++-
fs/btrfs/fs.c | 12 ++++++++++--
fs/btrfs/inode.c | 4 +++-
fs/btrfs/lzo.c | 5 +++--
5 files changed, 27 insertions(+), 7 deletions(-)