mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
btrfs: open code set_page_extent_mapped()
The function set_page_extent_mapped() is now a simple wrapper so use the folio helper. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
@@ -862,11 +862,6 @@ static int attach_extent_buffer_folio(struct extent_buffer *eb,
|
||||
return ret;
|
||||
}
|
||||
|
||||
int set_page_extent_mapped(struct page *page)
|
||||
{
|
||||
return set_folio_extent_mapped(page_folio(page));
|
||||
}
|
||||
|
||||
int set_folio_extent_mapped(struct folio *folio)
|
||||
{
|
||||
struct btrfs_fs_info *fs_info;
|
||||
|
||||
Reference in New Issue
Block a user