[GIT PULL] Btrfs fix for v5.14-rc7

From: David Sterba
Date: Wed Aug 18 2021 - 12:43:11 EST


Hi,

one more fix for cross-rename, adding a missing check for directory and
subvolume, this could lead to a crash.

Please pull, thanks.

----------------------------------------------------------------
The following changes since commit 7280305eb57dd32735f795ed4ee679bf9854f9d0:

btrfs: calculate number of eb pages properly in csum_tree_block (2021-07-29 13:01:04 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 3f79f6f6247c83f448c8026c3ee16d4636ef8d4f:

btrfs: prevent rename2 from exchanging a subvol with a directory from different parents (2021-08-16 13:33:23 +0200)

----------------------------------------------------------------
NeilBrown (1):
btrfs: prevent rename2 from exchanging a subvol with a directory from different parents

fs/btrfs/inode.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)