btrfs-progs: convert: update some forward declarations
Add missing and reorder so they come next to the structures using them. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
c0acc29c99
commit
f989881ccd
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
#define CONV_IMAGE_SUBVOL_OBJECTID BTRFS_FIRST_FREE_OBJECTID
|
#define CONV_IMAGE_SUBVOL_OBJECTID BTRFS_FIRST_FREE_OBJECTID
|
||||||
|
|
||||||
|
struct task_info;
|
||||||
|
|
||||||
struct task_ctx {
|
struct task_ctx {
|
||||||
u64 max_copy_inodes;
|
u64 max_copy_inodes;
|
||||||
u64 cur_copy_inodes;
|
u64 cur_copy_inodes;
|
||||||
|
@ -28,9 +30,6 @@ struct task_ctx {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct btrfs_convert_context;
|
struct btrfs_convert_context;
|
||||||
struct btrfs_root;
|
|
||||||
struct btrfs_trans_handle;
|
|
||||||
struct btrfs_inode_item;
|
|
||||||
|
|
||||||
struct btrfs_convert_operations {
|
struct btrfs_convert_operations {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
@ -43,6 +42,10 @@ struct btrfs_convert_operations {
|
||||||
int (*check_state)(struct btrfs_convert_context *cctx);
|
int (*check_state)(struct btrfs_convert_context *cctx);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct btrfs_trans_handle;
|
||||||
|
struct btrfs_root;
|
||||||
|
struct btrfs_inode_item;
|
||||||
|
|
||||||
struct blk_iterate_data {
|
struct blk_iterate_data {
|
||||||
struct btrfs_trans_handle *trans;
|
struct btrfs_trans_handle *trans;
|
||||||
struct btrfs_root *root;
|
struct btrfs_root *root;
|
||||||
|
|
Loading…
Reference in New Issue