diff options
| author | Goldwyn Rodrigues <[email protected]> | 2024-01-11 01:56:13 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-03-04 15:24:45 +0000 |
| commit | df055afe9bec5a62e0ad8135829b5359332fd1a9 (patch) | |
| tree | 91025decc0c3dc8c2c287d08bd0f806069e209b4 /fs/btrfs/dev-replace.c | |
| parent | btrfs: use a folio array throughout the defrag process (diff) | |
| download | kernel-df055afe9bec5a62e0ad8135829b5359332fd1a9.tar.gz kernel-df055afe9bec5a62e0ad8135829b5359332fd1a9.zip | |
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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Reviewed-by: Boris Burkov <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
