Skip to contentSkip to conversation

Btrfs fixes for 6.19-rc5, part 2

GIT PULL Merged David Sterba 2 participants 2 messages Jan 9 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

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(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 9 Jan 2026 17:40:05 +0100:

The pull request you sent on Fri, 9 Jan 2026 17:40:05 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.19-rc4-tag

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/372800cb95a35a7c40a07e2e0f7de4ce6786d230

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html