diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-07-25 01:26:58 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-09-10 16:51:16 +0200 |
commit | dce9ef941205db02c8e7b01e0091f8115d024be1 (patch) | |
tree | 310c79b5f53bb48ccf8e0c0c8e7c66df44256042 /fs/btrfs/extent_io.c | |
parent | btrfs: convert read_inline_extent() to use a folio (diff) | |
download | linux-dce9ef941205db02c8e7b01e0091f8115d024be1.tar.xz linux-dce9ef941205db02c8e7b01e0091f8115d024be1.zip |
btrfs: convert btrfs_get_extent() to take a folio
We only pass this into read_inline_extent, change it to take a folio and
update the callers.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 6ba8867d2a1f..f4eb44298bd8 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -987,7 +987,7 @@ static struct extent_map *__get_extent_map(struct inode *inode, struct page *pag *em_cached = NULL; } - em = btrfs_get_extent(BTRFS_I(inode), page, start, len); + em = btrfs_get_extent(BTRFS_I(inode), page_folio(page), start, len); if (!IS_ERR(em)) { BUG_ON(*em_cached); refcount_inc(&em->refs); |