]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: tree-checker: use table values for stripe checks
authorDavid Sterba <dsterba@suse.com>
Mon, 26 Jul 2021 12:15:15 +0000 (14:15 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:02 +0000 (13:19 +0200)
commitf32cf8598c45d611c124cb4e10d490700ddf85cd
tree989a92248b86b622fe2db58e8bc822ad5819f189
parentadd187108cd3e075e83ed6d9b1fbc23621ecf877
btrfs: tree-checker: use table values for stripe checks

There are hardcoded values in several checks regarding chunks and stripe
constraints. We have that defined in the raid table and ought to use it.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-checker.c