From f07c8149718e2b841b91269cc2c0d5ed92df1bca Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Fri, 29 Jan 2016 13:03:22 +0800 Subject: btrfs-progs: Introduce function to create convert data chunks Introduce new function, make_convert_data_chunks(), to build up data chunks for convert. It will call a modified version of btrfs_alloc_data_chunk() to force data chunks to covert all known ext* data. Signed-off-by: Qu Wenruo Signed-off-by: David Sterba --- volumes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'volumes.h') diff --git a/volumes.h b/volumes.h index c0007adc..d88e1cf0 100644 --- a/volumes.h +++ b/volumes.h @@ -194,7 +194,7 @@ int btrfs_alloc_chunk(struct btrfs_trans_handle *trans, u64 *num_bytes, u64 type); int btrfs_alloc_data_chunk(struct btrfs_trans_handle *trans, struct btrfs_root *extent_root, u64 *start, - u64 num_bytes, u64 type); + u64 num_bytes, u64 type, int convert); int btrfs_read_super_device(struct btrfs_root *root, struct extent_buffer *buf); int btrfs_add_device(struct btrfs_trans_handle *trans, struct btrfs_root *root, -- cgit v1.2.3