mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
btrfs: remove unused btrfs_map_block
There are no users of btrfs_map_block left, so remove it. Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
78a213a05d
commit
d69d7ffc26
2 changed files with 0 additions and 11 deletions
|
|
@ -6481,14 +6481,6 @@ out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op,
|
|
||||||
u64 logical, u64 *length,
|
|
||||||
struct btrfs_io_context **bioc_ret, int mirror_num)
|
|
||||||
{
|
|
||||||
return __btrfs_map_block(fs_info, op, logical, length, bioc_ret,
|
|
||||||
NULL, &mirror_num, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* For Scrub/replace */
|
/* For Scrub/replace */
|
||||||
int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op,
|
int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op,
|
||||||
u64 logical, u64 *length,
|
u64 logical, u64 *length,
|
||||||
|
|
|
||||||
|
|
@ -582,9 +582,6 @@ static inline unsigned long btrfs_chunk_item_size(int num_stripes)
|
||||||
|
|
||||||
void btrfs_get_bioc(struct btrfs_io_context *bioc);
|
void btrfs_get_bioc(struct btrfs_io_context *bioc);
|
||||||
void btrfs_put_bioc(struct btrfs_io_context *bioc);
|
void btrfs_put_bioc(struct btrfs_io_context *bioc);
|
||||||
int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op,
|
|
||||||
u64 logical, u64 *length,
|
|
||||||
struct btrfs_io_context **bioc_ret, int mirror_num);
|
|
||||||
int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op,
|
int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op,
|
||||||
u64 logical, u64 *length,
|
u64 logical, u64 *length,
|
||||||
struct btrfs_io_context **bioc_ret);
|
struct btrfs_io_context **bioc_ret);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue