]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
btrfs: remove the extent item sanity checks in relocate_block_group
authorJosef Bacik <josef@toxicpanda.com>
Fri, 12 Mar 2021 20:25:27 +0000 (15:25 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:21 +0000 (17:25 +0200)
commit24cd638902d4c6b05eae958707ce01729631d012
treea039abe4a10bcad0df0539b2ad21434b48eaed38
parent0ebb6bbbd499987248b4ce8f4f7c5eeb6e1fa905
btrfs: remove the extent item sanity checks in relocate_block_group

These checks are all taken care of for us by the tree checker code:

- the flags don't change or are updated consistently
- the v0 extent item format is invalid and caught in many other places
  too

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/relocation.c