[GIT PULL] Btrfs fixes for 6.10.rc7, part 2

From: David Sterba
Date: Thu Jul 04 2024 - 13:09:52 EST


Hi,

please pull a few more fixes for bugs reported recently. Thanks.

- fix folio refcounting when releasing them (encoded write, dummy extent
buffer)

- fix out of bounds read when checking qgroup inherit data

- fix how configurable chunk size is handled in zoned mode

- in the ref-verify tool, fix uninitialized return value when checking
extent owner ref and simple quota are not enabled

----------------------------------------------------------------
The following changes since commit 48f091fd50b2eb33ae5eaea9ed3c4f81603acf38:

btrfs: fix adding block group to a reclaim list and the unused list during reclaim (2024-07-01 17:33:15 +0200)

are available in the Git repository at:

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

for you to fetch changes up to a56c85fa2d59ab0780514741550edf87989a66e9:

btrfs: fix folio refcount in __alloc_dummy_extent_buffer() (2024-07-04 02:19:10 +0200)

----------------------------------------------------------------
Boris Burkov (2):
btrfs: fix folio refcount in btrfs_do_encoded_write()
btrfs: fix folio refcount in __alloc_dummy_extent_buffer()

Filipe Manana (1):
btrfs: fix uninitialized return value in the ref-verify tool

Naohiro Aota (1):
btrfs: zoned: fix calc_available_free_space() for zoned mode

Qu Wenruo (1):
btrfs: always do the basic checks for btrfs_qgroup_inherit structure

fs/btrfs/extent_io.c | 2 +-
fs/btrfs/inode.c | 2 +-
fs/btrfs/qgroup.c | 10 ++++++++--
fs/btrfs/ref-verify.c | 9 +++++++--
fs/btrfs/space-info.c | 24 +++++++++++++++++++++---
5 files changed, 38 insertions(+), 9 deletions(-)