[GIT PULL] Btrfs fixes for 6.9-rc8

From: David Sterba
Date: Mon May 06 2024 - 15:46:14 EST


Hi,

please pull two more fixes, both have some visible effects on user
space.

- add check if quotas are enabled when passing qgroup inheritance info,
this affects snapper that could fail to create a snapshot

- do check for leaf/node flag WRITTEN earlier so that nodes are
completely validated before access, this used to be done by integrity
checker but it's been removed and left an unhandled case

----------------------------------------------------------------
The following changes since commit 63a6ce5a1a6261e4c70bad2b55c4e0de8da4762e:

btrfs: set correct ram_bytes when splitting ordered extent (2024-04-30 12:03:44 +0200)

are available in the Git repository at:

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

for you to fetch changes up to e03418abde871314e1a3a550f4c8afb7b89cb273:

btrfs: make sure that WRITTEN is set on all metadata blocks (2024-05-02 22:11:13 +0200)

----------------------------------------------------------------
Josef Bacik (1):
btrfs: make sure that WRITTEN is set on all metadata blocks

Qu Wenruo (1):
btrfs: qgroup: do not check qgroup inherit if qgroup is disabled

fs/btrfs/qgroup.c | 2 ++
fs/btrfs/tree-checker.c | 30 +++++++++++++++---------------
fs/btrfs/tree-checker.h | 1 +
3 files changed, 18 insertions(+), 15 deletions(-)