From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH 03/25] btrfs: drop unused parameter ctx from batch_delete_dir_index_items()
Date: Wed, 9 Oct 2024 16:30:59 +0200 [thread overview]
Message-ID: <84deed843ca880ac75642c86d043d2251dd8b3fe.1728484021.git.dsterba@suse.com> (raw)
In-Reply-To: <cover.1728484021.git.dsterba@suse.com>
The ctx parameter is not used, we can drop it.
Signed-off-by: David Sterba <dsterba@suse.com>
---
fs/btrfs/tree-log.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index e2ed2a791f8f..d76f9293189e 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -6204,7 +6204,6 @@ static int log_delayed_deletions_full(struct btrfs_trans_handle *trans,
static int batch_delete_dir_index_items(struct btrfs_trans_handle *trans,
struct btrfs_inode *inode,
struct btrfs_path *path,
- struct btrfs_log_ctx *ctx,
const struct list_head *delayed_del_list,
const struct btrfs_delayed_item *first,
const struct btrfs_delayed_item **last_ret)
@@ -6265,7 +6264,7 @@ static int log_delayed_deletions_incremental(struct btrfs_trans_handle *trans,
if (ret < 0) {
return ret;
} else if (ret == 0) {
- ret = batch_delete_dir_index_items(trans, inode, path, ctx,
+ ret = batch_delete_dir_index_items(trans, inode, path,
delayed_del_list, curr,
&last);
if (ret)
--
2.45.0
next prev parent reply other threads:[~2024-10-09 14:31 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 ` David Sterba [this message]
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 ` [PATCH 19/25] btrfs: drop unused parameter mask from try_release_extent_state() David Sterba
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=84deed843ca880ac75642c86d043d2251dd8b3fe.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).