Re: [PATCH v3] btrfs: fix bare unsigned declarations

2018-03-07 Thread David Sterba
On Mon, Feb 26, 2018 at 04:46:05PM +0800, Anand Jain wrote: > 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. > > Sign

[PATCH v3] btrfs: fix bare unsigned declarations

2018-02-26 Thread Anand Jain
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 --- v2->v3: @old_metadata_ratio change it to u32