diff options
| author | David Sterba <[email protected]> | 2025-01-09 10:23:59 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-01-13 13:53:21 +0000 |
| commit | 5f14eb12a3be1628809141759e46c381925b5ef1 (patch) | |
| tree | 602495f6ef57679eeb6e23f374ca287310b547a7 /fs/btrfs/delayed-inode.c | |
| parent | btrfs: pass write-hint for buffered IO (diff) | |
| download | kernel-5f14eb12a3be1628809141759e46c381925b5ef1.tar.gz kernel-5f14eb12a3be1628809141759e46c381925b5ef1.zip | |
btrfs: drop unused parameter fs_info to btrfs_delete_delayed_insertion_item()
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Anand Jain <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
| -rw-r--r-- | fs/btrfs/delayed-inode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c index f9f1a972a6f7..0b4933c6a889 100644 --- a/fs/btrfs/delayed-inode.c +++ b/fs/btrfs/delayed-inode.c @@ -1555,8 +1555,7 @@ release_node: return ret; } -static int btrfs_delete_delayed_insertion_item(struct btrfs_fs_info *fs_info, - struct btrfs_delayed_node *node, +static int btrfs_delete_delayed_insertion_item(struct btrfs_delayed_node *node, u64 index) { struct btrfs_delayed_item *item; @@ -1614,7 +1613,7 @@ int btrfs_delete_delayed_dir_index(struct btrfs_trans_handle *trans, if (IS_ERR(node)) return PTR_ERR(node); - ret = btrfs_delete_delayed_insertion_item(trans->fs_info, node, index); + ret = btrfs_delete_delayed_insertion_item(node, index); if (!ret) goto end; |
