btrfs: prepare btrfs_page_mkwrite() for large folios
[ Upstream commit 49990d8f ] This changes the assumption that the folio is always page sized. (Although the ASSERT() for folio order is still kept as-is). Just replace the PAGE_SIZE with folio_size(). Reviewed-by:Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by:
Qu Wenruo <wqu@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com> Stable-dep-of: 17a85f52 ("btrfs: fix wrong start offset for delalloc space release during mmap write") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading