[GIT PULL] Btrfs fixes for 6.14-rc2

From: David Sterba
Date: Wed Feb 05 2025 - 09:15:52 EST


Hi,

please pull a few fixes for problems reported recently. Thanks.

- add lockdep annotation for relocation root to fix a splat warning
while merging roots

- fix assertion failure when splitting ordered extent after transaction
abort

- don't print 'qgroup inconsistent' message when rescan process updates
qgroup data sooner than the subvolume deletion process

- fix use-after-free (accessing the error number) when attempting to join
an aborted transaction

- avoid starting new transaction if not necessary when cleaning qgroup
during subvolume drop

----------------------------------------------------------------
The following changes since commit 9d0c23db26cb58c9fc6ee8817e8f9ebeb25776e5:

btrfs: selftests: add a selftest for deleting two out of three extents (2025-01-14 15:57:55 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.14-rc1-tag

for you to fetch changes up to fdef89ce6fada462aef9cb90a140c93c8c209f0f:

btrfs: avoid starting new transaction when cleaning qgroup during subvolume drop (2025-01-23 22:34:17 +0100)

----------------------------------------------------------------
Filipe Manana (4):
btrfs: fix lockdep splat while merging a relocation root
btrfs: fix use-after-free when attempting to join an aborted transaction
btrfs: avoid starting new transaction when cleaning qgroup during subvolume drop

Qu Wenruo (1):
btrfs: do not output error message if a qgroup has been already cleaned up

fs/btrfs/ctree.c | 2 ++
fs/btrfs/ordered-data.c | 12 ++++++++++++
fs/btrfs/qgroup.c | 11 +++++------
fs/btrfs/transaction.c | 4 +++-
4 files changed, 22 insertions(+), 7 deletions(-)