diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-05-04 10:53:05 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:29 +0200 |
commit | 63a9c7b9ceaad9b2d8bd482abd44e2068b828b00 (patch) | |
tree | 56a51ef0be136bed7f0a25675c82e558ecc7d059 /fs/btrfs/extent-tree.c | |
parent | 8b317901da4ab5576d109bf1aed7eb15cbe31d5f (diff) | |
download | lwn-63a9c7b9ceaad9b2d8bd482abd44e2068b828b00.tar.gz lwn-63a9c7b9ceaad9b2d8bd482abd44e2068b828b00.zip |
btrfs: Remove devid parameter from btrfs_rmap_block
This function is used in only one place and devid argument is always
passed 0. So just remove it, similarly to how it was removed in the
userspace code.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 38dd98bc50d7..f206f1a65cc1 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -256,7 +256,7 @@ static int exclude_super_stripes(struct btrfs_fs_info *fs_info, for (i = 0; i < BTRFS_SUPER_MIRROR_MAX; i++) { bytenr = btrfs_sb_offset(i); ret = btrfs_rmap_block(fs_info, cache->key.objectid, - bytenr, 0, &logical, &nr, &stripe_len); + bytenr, &logical, &nr, &stripe_len); if (ret) return ret; |