[GIT PULL] Btrfs fixes for 6.19-rc5

From: David Sterba
Date: Mon Jan 05 2026 - 16:58:16 EST


Hi,

please pull the following fixes. Thanks.

- fix potential deadlock due to mismatching transaction states when
waiting for the current transaction

- fix squota accounting with nested snapshots

- fix quota inheritance of qgroups with multiple parent qgroups

- fix NULL inode pointer in evict tracepoint

- fix writes beyond end of file on systems with 64K page size and 4K
block size

- fix logging of inodes after exchange rename

- fix use after free when using ref_tracker feature

- space reservation fixes

----------------------------------------------------------------
The following changes since commit 37343524f000d2a64359867d7024a73233d3b438:

btrfs: fix changeset leak on mmap write after failure to reserve metadata (2025-12-12 16:33:18 +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 c1c050f92d8f6aac4e17f7f2230160794fceef0c:

btrfs: fix reservation leak in some error paths when inserting inline extent (2025-12-16 22:53:15 +0100)

----------------------------------------------------------------
Boris Burkov (1):
btrfs: fix qgroup_snapshot_quick_inherit() squota bug

Filipe Manana (3):
btrfs: always detect conflicting inodes when logging inode refs
btrfs: do not free data reservation in fallback from inline due to -ENOSPC
btrfs: fix reservation leak in some error paths when inserting inline extent

Leo Martins (1):
btrfs: fix use-after-free warning in btrfs_get_or_create_delayed_node()

Miquel Sabaté Solà (1):
btrfs: fix NULL dereference on root when tracing inode eviction

Qu Wenruo (2):
btrfs: qgroup: update all parent qgroups when doing quick inherit
btrfs: fix beyond-EOF write handling

Robbie Ko (1):
btrfs: fix deadlock in wait_current_trans() due to ignored transaction type

fs/btrfs/delayed-inode.c | 32 +++++++++++++++++---------------
fs/btrfs/extent_io.c | 8 ++++----
fs/btrfs/inode.c | 22 +++++++++++++++-------
fs/btrfs/qgroup.c | 21 +++++++++++++++++++--
fs/btrfs/transaction.c | 11 ++++++-----
fs/btrfs/tree-log.c | 6 ++----
include/trace/events/btrfs.h | 3 ++-
7 files changed, 65 insertions(+), 38 deletions(-)