]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: prepare btrfs_launcher_folio() for large folios support
authorQu Wenruo <wqu@suse.com>
Thu, 20 Feb 2025 09:22:24 +0000 (19:52 +1030)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:52 +0000 (20:35 +0100)
commitaccaec2cbaac98c6225d50c792bc5c36af89bc58
treefadb55160eae5a8ae637aea9589dd8192ec0dd57
parenta416637f905f26b64658adb2fed2b79cc4fb0fda
btrfs: prepare btrfs_launcher_folio() for large folios support

That function is only calling btrfs_qgroup_free_data(), which doesn't
care about the size of the folio.

Just replace the fixed PAGE_SIZE with folio_size().

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c