Skip to content

Commit

Permalink
btrfs: drop unused parameter mask from try_release_extent_state()
Browse files Browse the repository at this point in the history
The mask parameter used for allocations got unified to GFP_NOFS and
removed from relevant functions in 1d12680 ("btrfs: drop gfp from
parameter extent state helpers").

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
  • Loading branch information
David Sterba committed Nov 11, 2024
1 parent f8c4d59 commit 2decc28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/btrfs/extent_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -2382,7 +2382,7 @@ int extent_invalidate_folio(struct extent_io_tree *tree,
* to drop the page.
*/
static bool try_release_extent_state(struct extent_io_tree *tree,
struct folio *folio, gfp_t mask)
struct folio *folio)
{
u64 start = folio_pos(folio);
u64 end = start + PAGE_SIZE - 1;
Expand Down Expand Up @@ -2493,7 +2493,7 @@ bool try_release_extent_mapping(struct folio *folio, gfp_t mask)
cond_resched();
}
}
return try_release_extent_state(io_tree, folio, mask);
return try_release_extent_state(io_tree, folio);
}

static void __free_extent_buffer(struct extent_buffer *eb)
Expand Down

0 comments on commit 2decc28

Please sign in to comment.