summaryrefslogtreecommitdiff
path: root/check
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 /check
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 'check')
-rw-r--r--check/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/check/main.c b/check/main.c
index 669180ab..2465d2b7 100644
--- a/check/main.c
+++ b/check/main.c
@@ -5147,7 +5147,7 @@ static int check_cache_range(struct btrfs_root *root,
for (i = 0; i < BTRFS_SUPER_MIRROR_MAX; i++) {
bytenr = btrfs_sb_offset(i);
ret = btrfs_rmap_block(root->fs_info,
- cache->key.objectid, bytenr, 0,
+ cache->key.objectid, bytenr,
&logical, &nr, &stripe_len);
if (ret)
return ret;