commit | 06bbf67244fc63c66340bd31f4b2b60d797e886e | [log] [tgz] |
---|---|---|
author | Qu Wenruo <wqu@suse.com> | Fri Sep 21 15:20:30 2018 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 15 17:23:40 2018 +0200 |
tree | e7ebf65f5c5f8059b006d5c778d7840a989c7219 | |
parent | 98ff7b94e4daca8d7ea4352a9a7905cced597a4c [diff] |
btrfs: relocation: Remove redundant tree level check Commit 581c1760415c ("btrfs: Validate child tree block's level and first key") has made tree block level check mandatory. So if tree block level doesn't match, we won't get a valid extent buffer. The extra WARN_ON() check can be removed completely. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>