diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.de> | 2024-01-11 04:56:13 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:45 +0300 |
commit | df055afe9bec5a62e0ad8135829b5359332fd1a9 (patch) | |
tree | 91025decc0c3dc8c2c287d08bd0f806069e209b4 /fs/btrfs/dev-replace.c | |
parent | fae9cd252f889f006326e126906e879451040a5f (diff) | |
download | linux-df055afe9bec5a62e0ad8135829b5359332fd1a9.tar.xz |
btrfs: page to folio conversion in btrfs_truncate_block()
Convert use of struct page to struct folio inside btrfs_truncate_block().
The only page based function is set_page_extent_mapped(). All other
functions have folio equivalents.
Had to use __filemap_get_folio() because filemap_grab_folio() does not
allow passing allocation mask as a parameter.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions