mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
btrfs: drop unused parameter mask from try_release_extent_state()
The mask parameter used for allocations got unified to GFP_NOFS and
removed from relevant functions in 1d12680044
("btrfs: drop gfp from
parameter extent state helpers").
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
f8c4d59de2
commit
2decc288eb
@ -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;
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user