diff options
| author | David Sterba <[email protected]> | 2024-02-06 22:45:09 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-03-05 16:13:23 +0000 |
| commit | 970ea374884dd948eb1b0f4ae2fd32e60b3977d5 (patch) | |
| tree | 40bd67ce6b0978ce7a8e8e957364b4465aac5345 /fs/btrfs/compression.c | |
| parent | btrfs: merge btrfs_del_delalloc_inode() helpers (diff) | |
| download | kernel-970ea374884dd948eb1b0f4ae2fd32e60b3977d5.tar.gz kernel-970ea374884dd948eb1b0f4ae2fd32e60b3977d5.zip | |
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 <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions
