btrfs: relocation: use more natural types for tree_block bitfields
authorDavid Sterba <dsterba@suse.com>
Fri, 22 Sep 2023 11:07:14 +0000 (13:07 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:13 +0000 (16:44 +0200)
commita3bb700f43a1c5800bd5fc35cf6182f8ecadf58f
tree5190cb052211cf95b593770d712124d6a1087dd9
parent1723270f0c29cc27dbe9e554a3f35abd2e4eb945
btrfs: relocation: use more natural types for tree_block bitfields

We don't need to use bitfields for tree_block::level and
tree_block::key_ready, there's enough padding in the structure for
proper types.

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/relocation.c