[GIT PULL] Btrfs fixes for 6.19-rc5, part 2
From: David Sterba
Date: Fri Jan 09 2026 - 11:40:09 EST
Hi,
second batch of patches after the EOY break. Please pull, thanks.
- fix potential NULL pointer dereference when replaying tree log after
an error
- release path before initializing extent tree to avoid potential
deadlock when allocating new inode
- on filesystems with block size > page size
- fix potential read out of bounds during encoded read of an inline
extent
- only enforce free space tree if v1 cache is required
- print correct tree id in error message
----------------------------------------------------------------
The following changes since commit c1c050f92d8f6aac4e17f7f2230160794fceef0c:
btrfs: fix reservation leak in some error paths when inserting inline extent (2025-12-16 22:53:15 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.19-rc4-tag
for you to fetch changes up to 2bb83bc42be6280d9bc363b8fbcd6fdab690d16d:
btrfs: show correct warning if can't read data reloc tree (2026-01-06 01:23:00 +0100)
----------------------------------------------------------------
Filipe Manana (1):
btrfs: release path before initializing extent tree in btrfs_read_locked_inode()
Mark Harmstone (1):
btrfs: show correct warning if can't read data reloc tree
Qu Wenruo (3):
btrfs: avoid access-beyond-folio for bs > ps encoded writes
btrfs: only enforce free space tree if v1 cache is required for bs < ps cases
btrfs: force free space tree for bs > ps cases
Suchit Karunakaran (1):
btrfs: fix NULL pointer dereference in do_abort_log_replay()
fs/btrfs/disk-io.c | 1 +
fs/btrfs/inode.c | 41 ++++++++++++++++++++++++++++++++---------
fs/btrfs/super.c | 12 +++++-------
fs/btrfs/tree-log.c | 2 +-
4 files changed, 39 insertions(+), 17 deletions(-)