diff options
| author | 2026-09-07 16:20:01 -0400 | |
|---|---|---|
| committer | 2026-10-12 19:16:21 +0200 | |
| commit | cf7ded644ed72747748b62dd7eda7e67c2d1b547 (patch) | |
| tree | 1237c7164cab07ea067b57765b376fa17130effb /scripts/Makefile.thinlto | |
| parent | btrfs: fix stale function references in compression comments (diff) | |
btrfs: use folios for reading super blocks from the block device
btrfs_read_disk_super() and the zoned super block log comparison go
through read_cache_page_gfp() and page_address(), and
btrfs_release_disk_super() recovers the page with virt_to_page(). Use
mapping_read_folio_gfp(), folio_address(), and virt_to_folio() instead.
This removes the last callers of read_cache_page_gfp() and put_page()
in btrfs.
Compute the super block address with offset_in_folio() as
write_dev_supers() does, rather than assuming it is at the start of
the page.
Assisted-by: Claude:claude-fable-5-1
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
