mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
btrfs: fix stale function references in compression comments
add_ra_bio_pages() was renamed to add_ra_bio_folios(), and btrfs_compress_filemap_get_folio() wraps filemap_get_folio(), not find_get_page(). Update the comments accordingly. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Tal Zussman <tz2294@columbia.edu> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
d8fe0fda53
commit
dcfc00dc02
|
|
@ -431,7 +431,7 @@ static noinline int add_ra_bio_folios(struct inode *inode, u64 compressed_end,
|
|||
}
|
||||
|
||||
/*
|
||||
* Since add_ra_bio_pages() is always speculative, suppress
|
||||
* Since add_ra_bio_folios() is always speculative, suppress
|
||||
* allocation warnings.
|
||||
*/
|
||||
masked_constraint_gfp = mapping_gfp_constraint(mapping, constraint_gfp);
|
||||
|
|
@ -960,7 +960,7 @@ bool btrfs_compress_level_valid(unsigned int type, int level)
|
|||
return levels->min_level <= level && level <= levels->max_level;
|
||||
}
|
||||
|
||||
/* Wrapper around find_get_page(), with extra error message. */
|
||||
/* Wrapper around filemap_get_folio(), with extra error message. */
|
||||
int btrfs_compress_filemap_get_folio(struct address_space *mapping, u64 start,
|
||||
struct folio **in_folio_ret)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user