From: Filipe Manana Date: Tue, 25 Mar 2025 13:29:44 +0000 (+0000) Subject: btrfs: update comment for try_release_extent_state() X-Git-Tag: block-6.16-20250606~42^2~180 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=cbfb4cbf459d9be4782bdf4fa688dbe3ca455992;p=linux-block.git 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 Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 89f866777698..c0d36e64b2b6 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -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)