[GIT PULL] Btrfs fixes for 6.13-rc2
From: David Sterba
Date: Tue Dec 03 2024 - 14:43:54 EST
Hi,
first batch of regression and regular fixes. Please pull, thanks.
- add lockdep annotations for io_uring/encoded read integration, inode
lock is held when returning to userspace
- properly reflect experimental config option to sysfs
- handle NULL root in case the rescue mode accepts invalid/damaged tree
roots (rescue=ibadroot)
- regression fix of a deadlock between transaction and extent locks
- fix pending bio accounting bug in encoded read ioctl
- fix NOWAIT mode when checking references for NOCOW files
- fix use-after-free in a rb-tree cleanup in ref-verify debugging tool
----------------------------------------------------------------
The following changes since commit e82c936293aafb4f33b153c684c37291b3eed377:
btrfs: send: check for read-only send root under critical section (2024-11-11 14:34:23 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.13-rc1-tag
for you to fetch changes up to 22d2e48e318564f8c9b09faf03ecb4f03fb44dd5:
btrfs: fix lockdep warnings on io_uring encoded reads (2024-11-29 16:56:38 +0100)
----------------------------------------------------------------
Filipe Manana (4):
btrfs: fix deadlock between transaction commits and extent locks
btrfs: sysfs: advertise experimental features only if CONFIG_BTRFS_EXPERIMENTAL=y
btrfs: don't loop for nowait writes when checking for cross references
btrfs: ref-verify: fix use-after-free after invalid ref action
Johannes Thumshirn (1):
btrfs: fix use-after-free in btrfs_encoded_read_endio()
Lizhi Xu (1):
btrfs: add a sanity check for btrfs root in btrfs_search_slot()
Mark Harmstone (1):
btrfs: fix lockdep warnings on io_uring encoded reads
fs/btrfs/ctree.c | 6 +++++-
fs/btrfs/extent-tree.c | 2 +-
fs/btrfs/inode.c | 18 ++++++++++++++----
fs/btrfs/ioctl.c | 10 ++++++++++
fs/btrfs/locking.h | 10 ++++++++++
fs/btrfs/ref-verify.c | 1 +
fs/btrfs/sysfs.c | 4 ++--
7 files changed, 43 insertions(+), 8 deletions(-)