mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 00:06:36 +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
1 changed files with 2 additions and 2 deletions
|
@ -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 @@ next:
|
|||
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…
Add table
Reference in a new issue