[GIT PULL] Btrfs fixes for 6.8-rc4

From: David Sterba
Date: Wed Feb 07 2024 - 03:16:27 EST


Hi,

please pull a few error handling fixes. Thanks.

- two fixes preventing deletion and manual creation of subvolume qgroup

- unify error code returned for unknown send flags

- fix assertion during subvolume creation when anonymous device could
be allocated by other thread (e.g. due to backref walk)

----------------------------------------------------------------
The following changes since commit 7f2d219e78e95a137a9c76fddac7ff8228260439:

btrfs: scrub: limit RST scrub to chunk boundary (2024-01-18 23:43:08 +0100)

are available in the Git repository at:

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

for you to fetch changes up to e03ee2fe873eb68c1f9ba5112fee70303ebf9dfb:

btrfs: do not ASSERT() if the newly created subvolume already got read (2024-01-31 08:42:53 +0100)

----------------------------------------------------------------
Boris Burkov (2):
btrfs: forbid creating subvol qgroups
btrfs: forbid deleting live subvol qgroup

David Sterba (1):
btrfs: send: return EOPNOTSUPP on unknown flags

Qu Wenruo (1):
btrfs: do not ASSERT() if the newly created subvolume already got read

fs/btrfs/disk-io.c | 13 +++++++++++--
fs/btrfs/ioctl.c | 5 +++++
fs/btrfs/qgroup.c | 14 ++++++++++++++
fs/btrfs/send.c | 2 +-
4 files changed, 31 insertions(+), 3 deletions(-)