diff options
| author | Qu Wenruo <wqu@suse.com> | 2025-03-17 17:40:48 +1030 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-05-15 14:30:42 +0200 |
| commit | f45e538b0002bac23a1d2b27002088aa89279b74 (patch) | |
| tree | b358124589b8569a00ac78c36ecf3ec915312157 /scripts/gdb/linux/proc.py | |
| parent | a4a636a43741c2706868fb97dff9a83d398ac9e3 (diff) | |
btrfs: prepare btrfs_page_mkwrite() for large data folios
The function btrfs_page_mkwrite() has an explicit ASSERT() checking the
folio order.
To make it support large data folios, we need to:
- Remove the ASSERT(folio_order(folio) == 0)
- Use folio_contains() to check if the folio covers the last page
Otherwise the code is already supporting large folios well.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
