summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorAnand Jain2018-02-26 09:46:05 +0100
committerDavid Sterba2018-03-26 15:09:40 +0200
commitd612ac59efc3b57858f310c8471d7ee2779658c9 (patch)
treed9b1e15bc7db9bd65040c51b8a9a5142adb02ba7 /fs/btrfs/ctree.h
parentbtrfs: Remove redundant memory barriers around dio_private error status (diff)
downloadkernel-qcow2-linux-d612ac59efc3b57858f310c8471d7ee2779658c9.tar.gz
kernel-qcow2-linux-d612ac59efc3b57858f310c8471d7ee2779658c9.tar.xz
kernel-qcow2-linux-d612ac59efc3b57858f310c8471d7ee2779658c9.zip
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>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index d6a2fc311187..eabc8431b442 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -994,8 +994,8 @@ struct btrfs_fs_info {
struct btrfs_balance_control *balance_ctl;
wait_queue_head_t balance_wait_q;
- unsigned data_chunk_allocations;
- unsigned metadata_ratio;
+ u32 data_chunk_allocations;
+ u32 metadata_ratio;
void *bdev_holder;