]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: balance: factor out convert profile validation
authorDavid Sterba <dsterba@suse.com>
Thu, 27 Feb 2020 20:00:52 +0000 (21:00 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:52 +0000 (17:01 +0100)
commitd3005a2ba633d3b4ccbe95125caea73d0cab13eb
tree68c749b37b3bd4acefcd1301c024a72c5266b5e2
parent6c1a699ab44c4dc5eac677dd276b27ebb371b158
btrfs: balance: factor out convert profile validation

The validation follows the same steps for all three block group types,
the existing helper validate_convert_profile can be enhanced and do more
of the common things.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c