diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-31 06:17:38 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:34 +0200 |
commit | 723b8bb17e2e680934f59823ab1e72c1000d88d6 (patch) | |
tree | 33253ddaed1d7d5059c1eed50076a43543a3be8a /fs/btrfs/volumes.h | |
parent | cd4efd210edfb34f8cec3a0184899af751dc2d71 (diff) | |
download | linux-stable-723b8bb17e2e680934f59823ab1e72c1000d88d6.tar.gz linux-stable-723b8bb17e2e680934f59823ab1e72c1000d88d6.tar.bz2 linux-stable-723b8bb17e2e680934f59823ab1e72c1000d88d6.zip |
btrfs: open code btrfs_map_sblock
btrfs_map_sblock just hard codes three arguments and calls
btrfs_map_sblock. Remove it as it doesn't provide any real value, but
makes following the btrfs_map_block call chains harder.
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.h')
-rw-r--r-- | fs/btrfs/volumes.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index c70805c8d895..3930ee01d696 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h @@ -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_put_bioc(struct btrfs_io_context *bioc); -int btrfs_map_sblock(struct btrfs_fs_info *fs_info, enum btrfs_map_op op, - u64 logical, u64 *length, - struct btrfs_io_context **bioc_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, |