[GIT PULL] Btrfs updates for 6.12, part 2

From: David Sterba
Date: Mon Sep 23 2024 - 07:52:45 EST


Hi,

a few more patches that I'd still like to get merged before rc1 as they
are fixes for user reported bugs.

Please pull, thanks.

- fix dangling pointer to rb-tree of defragmented inodes after cleanup

- a followup fix to handle concurrent lseek on the same fd that could
leak memory under some conditions

- fix wrong root id reported in tree checker when verifying dref

----------------------------------------------------------------
The following changes since commit bd610c0937aaf03b2835638ada1fab8b0524c61a:

btrfs: only unlock the to-be-submitted ranges inside a folio (2024-09-10 16:51:22 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 7f1b63f981b8284c6d8238cb49b5cb156d9a833e:

btrfs: fix use-after-free on rbtree that tracks inodes for auto defrag (2024-09-17 17:35:53 +0200)

----------------------------------------------------------------
Filipe Manana (2):
btrfs: fix race setting file private on concurrent lseek using same fd
btrfs: fix use-after-free on rbtree that tracks inodes for auto defrag

Qu Wenruo (1):
btrfs: tree-checker: fix the wrong output of data backref objectid

fs/btrfs/btrfs_inode.h | 1 +
fs/btrfs/ctree.h | 2 ++
fs/btrfs/defrag.c | 2 ++
fs/btrfs/file.c | 34 +++++++++++++++++++++++++++++++---
fs/btrfs/tree-checker.c | 2 +-
5 files changed, 37 insertions(+), 4 deletions(-)