diff options
author | David Sterba <dsterba@suse.com> | 2024-02-06 23:45:09 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-05 17:13:23 +0100 |
commit | 970ea374884dd948eb1b0f4ae2fd32e60b3977d5 (patch) | |
tree | 40bd67ce6b0978ce7a8e8e957364b4465aac5345 /fs/btrfs/subpage.c | |
parent | 5a8a57f9a427bf1962dfd2e24a02608411fc1a51 (diff) |
btrfs: pass a valid extent map cache pointer to __get_extent_map()
We can pass a valid em cache pointer down to __get_extent_map() and
drop the validity check. This avoids the special case, the call stacks
are simple:
btrfs_read_folio
btrfs_do_readpage
__get_extent_map
extent_readahead
contiguous_readpages
btrfs_do_readpage
__get_extent_map
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/subpage.c')
0 files changed, 0 insertions, 0 deletions