mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
btrfs: remove unused parameter from __add_inline_refs
Never used. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
e5987e1319
commit
eeac44cb49
@ -956,8 +956,7 @@ static int __add_delayed_refs(struct btrfs_delayed_ref_head *head, u64 seq,
|
|||||||
/*
|
/*
|
||||||
* add all inline backrefs for bytenr to the list
|
* add all inline backrefs for bytenr to the list
|
||||||
*/
|
*/
|
||||||
static int __add_inline_refs(struct btrfs_fs_info *fs_info,
|
static int __add_inline_refs(struct btrfs_path *path, u64 bytenr,
|
||||||
struct btrfs_path *path, u64 bytenr,
|
|
||||||
int *info_level, struct list_head *prefs,
|
int *info_level, struct list_head *prefs,
|
||||||
struct ref_root *ref_tree,
|
struct ref_root *ref_tree,
|
||||||
u64 *total_refs, u64 inum)
|
u64 *total_refs, u64 inum)
|
||||||
@ -1354,7 +1353,7 @@ again:
|
|||||||
if (key.objectid == bytenr &&
|
if (key.objectid == bytenr &&
|
||||||
(key.type == BTRFS_EXTENT_ITEM_KEY ||
|
(key.type == BTRFS_EXTENT_ITEM_KEY ||
|
||||||
key.type == BTRFS_METADATA_ITEM_KEY)) {
|
key.type == BTRFS_METADATA_ITEM_KEY)) {
|
||||||
ret = __add_inline_refs(fs_info, path, bytenr,
|
ret = __add_inline_refs(path, bytenr,
|
||||||
&info_level, &prefs,
|
&info_level, &prefs,
|
||||||
ref_tree, &total_refs,
|
ref_tree, &total_refs,
|
||||||
inum);
|
inum);
|
||||||
|
Loading…
Reference in New Issue
Block a user