aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/direct-io.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2025-03-17 17:40:48 +1030
committerDavid Sterba <dsterba@suse.com>2025-05-15 14:30:42 +0200
commitf45e538b0002bac23a1d2b27002088aa89279b74 (patch)
treeb358124589b8569a00ac78c36ecf3ec915312157 /fs/btrfs/direct-io.c
parentbtrfs: send: prepare put_file_data() for large data folios (diff)
downloadlinux-rng-f45e538b0002bac23a1d2b27002088aa89279b74.tar.xz
linux-rng-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 <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/direct-io.c')
0 files changed, 0 insertions, 0 deletions