summaryrefslogtreecommitdiff
path: root/volumes.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-04 10:47:25 +0300
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:32 +0200
commit873fba7101479686d24c4e70c582732b7f02480d (patch)
tree5a7311ad5ecee0a823b9e23648127a8797e59288 /volumes.h
parent402ac7a14083130b5cae6a93ab2c80eddd5871a5 (diff)
btrfs-progs: Remove devid parameter from btrfs_rmap_block
This parameter was introduced with the original implementation of the function but has never really been used, so just remove it. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'volumes.h')
-rw-r--r--volumes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/volumes.h b/volumes.h
index 5bcaae7f..b4ea93f0 100644
--- a/volumes.h
+++ b/volumes.h
@@ -254,8 +254,8 @@ static inline int btrfs_next_bg_system(struct btrfs_fs_info *fs_info,
BTRFS_BLOCK_GROUP_SYSTEM);
}
int btrfs_rmap_block(struct btrfs_fs_info *fs_info,
- u64 chunk_start, u64 physical, u64 devid,
- u64 **logical, int *naddrs, int *stripe_len);
+ u64 chunk_start, u64 physical, u64 **logical,
+ int *naddrs, int *stripe_len);
int btrfs_read_sys_array(struct btrfs_fs_info *fs_info);
int btrfs_read_chunk_tree(struct btrfs_fs_info *fs_info);
int btrfs_alloc_chunk(struct btrfs_trans_handle *trans,