]> www.infradead.org Git - users/jedix/linux-maple.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>
Tue, 6 Apr 2021 19:07:06 +0000 (21:07 +0200)
commitce5fe2a52f81b9d0dca7fff1d8c7d063d62ab899
treef26b1c041727e9c6227e4683643e8a50b12e0b39
parent4795b407ca4eea4993eac9f063b57ddfa98150ae
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