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 <lakshmipathi.g@giis.co.in>
Signed-off-by: David Sterba <dsterba@suse.com>
master
Lakshmipathi.G 2017-06-26 14:43:31 +02:00 committed by David Sterba
parent 66e069d7f1
commit 8636132c6d
1 changed files with 4 additions and 4 deletions

View File

@ -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;