aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2025-03-17 07:10:48 +0000
committerDavid Sterba <[email protected]>2025-05-15 12:30:42 +0000
commitf45e538b0002bac23a1d2b27002088aa89279b74 (patch)
treeb358124589b8569a00ac78c36ecf3ec915312157 /fs/btrfs/extent_io.c
parentbtrfs: send: prepare put_file_data() for large data folios (diff)
downloadkernel-f45e538b0002bac23a1d2b27002088aa89279b74.tar.gz
kernel-f45e538b0002bac23a1d2b27002088aa89279b74.zip
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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions