mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 10:10:33 +02:00
btrfs: update comment for try_release_extent_state()
Drop reference to pages from the comment since the function is fully folio aware and works regardless of how many pages are in the folio. Also while at it, capitalize the first word and make it more explicit that release_folio is a callback from struct address_space_operations. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
1e5773e0ba
commit
cbfb4cbf45
1 changed files with 3 additions and 3 deletions
|
|
@ -2614,9 +2614,9 @@ int extent_invalidate_folio(struct extent_io_tree *tree,
|
|||
}
|
||||
|
||||
/*
|
||||
* a helper for release_folio, this tests for areas of the page that
|
||||
* are locked or under IO and drops the related state bits if it is safe
|
||||
* to drop the page.
|
||||
* A helper for struct address_space_operations::release_folio, this tests for
|
||||
* areas of the folio that are locked or under IO and drops the related state
|
||||
* bits if it is safe to drop the folio.
|
||||
*/
|
||||
static bool try_release_extent_state(struct extent_io_tree *tree,
|
||||
struct folio *folio)
|
||||
|
|
|
|||
Loading…
Reference in a new issue