diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-31 06:17:36 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:34 +0200 |
commit | d69d7ffc26f10d7be3768a6762809c57f6443a43 (patch) | |
tree | f8256d072beb805dba0617512508dd06d28a866d /fs/btrfs/volumes.c | |
parent | 78a213a05df3510200331bfcc232bf0278c6ed50 (diff) | |
download | linux-d69d7ffc26f10d7be3768a6762809c57f6443a43.tar.gz linux-d69d7ffc26f10d7be3768a6762809c57f6443a43.tar.bz2 linux-d69d7ffc26f10d7be3768a6762809c57f6443a43.zip |
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>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index c236bfba0cec..4c6405c4ce04 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -6481,14 +6481,6 @@ out: 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 */ int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, u64 logical, u64 *length, |