mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-16 10:17:32 +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,
|
static int batch_delete_dir_index_items(struct btrfs_trans_handle *trans,
|
||||||
struct btrfs_inode *inode,
|
struct btrfs_inode *inode,
|
||||||
struct btrfs_path *path,
|
struct btrfs_path *path,
|
||||||
struct btrfs_log_ctx *ctx,
|
|
||||||
const struct list_head *delayed_del_list,
|
const struct list_head *delayed_del_list,
|
||||||
const struct btrfs_delayed_item *first,
|
const struct btrfs_delayed_item *first,
|
||||||
const struct btrfs_delayed_item **last_ret)
|
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) {
|
if (ret < 0) {
|
||||||
return ret;
|
return ret;
|
||||||
} else if (ret == 0) {
|
} 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,
|
delayed_del_list, curr,
|
||||||
&last);
|
&last);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user