aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 89548837a1cc..f9cae3072171 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -57,7 +57,7 @@ struct btrfs_device {
57 u64 type; 57 u64 type;
58 58
59 /* physical drive uuid (or lvm uuid) */ 59 /* physical drive uuid (or lvm uuid) */
60 u8 uuid[BTRFS_DEV_UUID_SIZE]; 60 u8 uuid[BTRFS_UUID_SIZE];
61}; 61};
62 62
63struct btrfs_fs_devices { 63struct btrfs_fs_devices {
@@ -93,7 +93,9 @@ struct btrfs_multi_bio {
93 93
94int btrfs_alloc_dev_extent(struct btrfs_trans_handle *trans, 94int btrfs_alloc_dev_extent(struct btrfs_trans_handle *trans,
95 struct btrfs_device *device, 95 struct btrfs_device *device,
96 u64 owner, u64 num_bytes, u64 *start); 96 u64 chunk_tree, u64 chunk_objectid,
97 u64 chunk_offset,
98 u64 num_bytes, u64 *start);
97int btrfs_map_block(struct btrfs_mapping_tree *map_tree, int rw, 99int btrfs_map_block(struct btrfs_mapping_tree *map_tree, int rw,
98 u64 logical, u64 *length, 100 u64 logical, u64 *length,
99 struct btrfs_multi_bio **multi_ret, int mirror_num); 101 struct btrfs_multi_bio **multi_ret, int mirror_num);