btrfs: unify types for metadata_ratio and data_chunk_allocations
authorAnand Jain <anand.jain@oracle.com>
Mon, 26 Feb 2018 08:46:05 +0000 (16:46 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:40 +0000 (15:09 +0200)
commitd612ac59efc3b57858f310c8471d7ee2779658c9
treed9b1e15bc7db9bd65040c51b8a9a5142adb02ba7
parentde224b7c56baa335bde9afcb4aa68f03c38f5f42
btrfs: unify types for metadata_ratio and data_chunk_allocations

We have btrfs_fs_info::data_chunk_allocations and
btrfs_fs_info::metadata_ratio declared as unsigned which would be
unsinged int and kernel style prefers unsigned int over bare unsigned.
So this patch changes them to u32.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/super.c