From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH 19/25] btrfs: drop unused parameter mask from try_release_extent_state()
Date: Wed, 9 Oct 2024 16:31:58 +0200 [thread overview]
Message-ID: <ae37a46650b3dda22029e71736bb73588c9af5f1.1728484021.git.dsterba@suse.com> (raw)
In-Reply-To: <cover.1728484021.git.dsterba@suse.com>
The mask parameter used for allocations got unified to GFP_NOFS and
removed from relevant functions in 1d1268004430 ("btrfs: drop gfp from
parameter extent state helpers").
Signed-off-by: David Sterba <dsterba@suse.com>
---
fs/btrfs/extent_io.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index 9fbc83c76b94..59c47cb8e538 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -2381,7 +2381,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;
@@ -2492,7 +2492,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)
--
2.45.0
next prev parent reply other threads:[~2024-10-09 14:32 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 14:30 [PATCH 00/25] Unused parameter cleanups David Sterba
2024-10-09 14:30 ` [PATCH 01/25] btrfs: zstd: assert the timer pointer in callback David Sterba
2024-10-09 14:30 ` [PATCH 02/25] btrfs: drop unused parameter path from btrfs_tree_mod_log_rewind() David Sterba
2024-10-09 14:30 ` [PATCH 03/25] btrfs: drop unused parameter ctx from batch_delete_dir_index_items() David Sterba
2024-10-09 14:31 ` [PATCH 04/25] btrfs: drop unused parameter fs_info from wait_reserve_ticket() David Sterba
2024-10-09 14:31 ` [PATCH 05/25] btrfs: drop unused parameter fs_info from do_reclaim_sweep() David Sterba
2024-10-09 14:31 ` [PATCH 06/25] btrfs: send: drop unused parameter num from iterate_inode_ref_t callbacks David Sterba
2024-10-09 14:31 ` [PATCH 07/25] btrfs: send: drop unused parameter index " David Sterba
2024-10-09 14:31 ` [PATCH 08/25] btrfs: scrub: drop unused parameter sctx from scrub_submit_extent_sector_read() David Sterba
2024-10-09 14:31 ` [PATCH 09/25] btrfs: drop unused parameter map from scrub_simple_mirror() David Sterba
2024-10-09 14:31 ` [PATCH 10/25] btrfs: qgroup: drop unused parameter fs_info from __del_qgroup_rb() David Sterba
2024-10-09 14:31 ` [PATCH 11/25] btrfs: drop unused transaction parameter from btrfs_qgroup_add_swapped_blocks() David Sterba
2024-10-09 14:31 ` [PATCH 12/25] btrfs: lzo: drop unused paramter level from lzo_alloc_workspace() David Sterba
2024-10-09 14:31 ` [PATCH 13/25] btrfs: drop unused parameter argp from btrfs_ioctl_quota_rescan_wait() David Sterba
2024-10-09 14:31 ` [PATCH 14/25] btrfs: drop unused parameter inode from read_inline_extent() David Sterba
2024-10-09 14:31 ` [PATCH 15/25] btrfs: drop unused parameter offset from __cow_file_range_inline() David Sterba
2024-10-09 14:31 ` [PATCH 16/25] btrfs: drop unused parameter file_offset from btrfs_encoded_read_regular_fill_pages() David Sterba
2024-10-09 14:31 ` [PATCH 17/25] btrfs: drop unused parameter iov_iter from btrfs_write_check() David Sterba
2024-10-09 14:31 ` [PATCH 18/25] btrfs: drop unused parameter refs from visit_node_for_delete() David Sterba
2024-10-09 14:31 ` David Sterba [this message]
2024-10-09 14:32 ` [PATCH 20/25] btrfs: drop unused parameter fs_info from folio_range_has_eb() David Sterba
2024-10-09 14:32 ` [PATCH 21/25] btrfs: drop unused parameter options from open_ctree() David Sterba
2024-10-09 14:32 ` [PATCH 22/25] btrfs: drop unused parameter data from btrfs_fill_super() David Sterba
2024-10-09 14:32 ` [PATCH 23/25] btrfs: drop unused parameter transaction from alloc_log_tree() David Sterba
2024-10-09 14:32 ` [PATCH 24/25] btrfs: drop unused parameter fs_info from btrfs_match_dir_item_name() David Sterba
2024-10-09 14:32 ` [PATCH 25/25] btrfs: drop unused parameter level from alloc_heuristic_ws() David Sterba
2024-10-11 11:45 ` [PATCH 00/25] Unused parameter cleanups Anand Jain
2024-10-11 15:54 ` David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ae37a46650b3dda22029e71736bb73588c9af5f1.1728484021.git.dsterba@suse.com \
--to=dsterba@suse.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).