]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9d37887c0e1969a4aa5db562454f3e8ba1e7b19
treed9b1e15bc7db9bd65040c51b8a9a5142adb02ba7
parent88213f891c82665f9346496dd7f333f324dcde9a
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