mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
btrfs: drop unused parameter ctx from batch_delete_dir_index_items()
The ctx parameter is not used, we can drop it. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
25a1399a6d
commit
2d5903dd5b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user