From 8636132c6d3e0b916a6877c327314f211498ab88 Mon Sep 17 00:00:00 2001 From: "Lakshmipathi.G" Date: Mon, 26 Jun 2017 14:43:31 +0200 Subject: btrfs-progs: convert: widen int types in convert context The u32 types in the convert context might not be enough for some very large filesytems (20TB). Use 64bit types to be safe. Signed-off-by: Lakshmipathi.G Signed-off-by: David Sterba --- convert/common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'convert') diff --git a/convert/common.h b/convert/common.h index 0d3adeaa..2f4ea485 100644 --- a/convert/common.h +++ b/convert/common.h @@ -30,10 +30,10 @@ struct btrfs_mkfs_config; struct btrfs_convert_context { u32 blocksize; - u32 first_data_block; - u32 block_count; - u32 inodes_count; - u32 free_inodes_count; + u64 first_data_block; + u64 block_count; + u64 inodes_count; + u64 free_inodes_count; u64 total_bytes; char *volume_name; const struct btrfs_convert_operations *convert_ops; -- cgit v1.2.3