[GIT PULL] Btrfs fix for 6.7-rc6, part 2

From: David Sterba
Date: Sun Dec 17 2023 - 12:17:59 EST


Hi,

there's one more fix that verifies that the snapshot source is a root,
same check is also done in user space but should be done by the ioctl
as well. Please pull, thanks.

----------------------------------------------------------------
The following changes since commit e85a0adacf170634878fffcbf34b725aff3f49ed:

btrfs: ensure releasing squota reserve on head refs (2023-12-06 22:32:57 +0100)

are available in the Git repository at:

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

for you to fetch changes up to a8892fd71933126ebae3d60aec5918d4dceaae76:

btrfs: do not allow non subvolume root targets for snapshot (2023-12-15 23:46:51 +0100)

----------------------------------------------------------------
Josef Bacik (1):
btrfs: do not allow non subvolume root targets for snapshot

fs/btrfs/ioctl.c | 9 +++++++++
1 file changed, 9 insertions(+)