btrfs-progs: tests: mkfs/008 mkfs with force
[platform/upstream/btrfs-progs.git] / convert / common.h
index 236e9a8..2f4ea48 100644 (file)
 
 #include "kerncompat.h"
 #include "common-defs.h"
+#include "extent-cache.h"
 
 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;
 
        /* The accurate used space of old filesystem */
-       struct cache_tree used;
+       struct cache_tree used_space;
 
        /* Batched ranges which must be covered by data chunks */
        struct cache_tree data_chunks;
 
        /* Free space which is not covered by data_chunks */
-       struct cache_tree free;
+       struct cache_tree free_space;
 
        void *fs_data;
 };