aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-10 13:57:27 -0500
committerDavid Sterba <dsterba@suse.com>2017-02-17 06:03:54 -0500
commiteeac44cb498d6380d5ea947b324892afa5d89615 (patch)
tree0c62f0bcad216566471f007a633ad1a3ac76d7d1 /fs/btrfs/backref.c
parente5987e1319e7b8155994407df9eb8f108871350b (diff)
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>
Diffstat (limited to 'fs/btrfs/backref.c')
-rw-r--r--fs/btrfs/backref.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c
index db706595e631..7699e16784d3 100644
--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -956,8 +956,7 @@ static int __add_delayed_refs(struct btrfs_delayed_ref_head *head, u64 seq,
956/* 956/*
957 * add all inline backrefs for bytenr to the list 957 * add all inline backrefs for bytenr to the list
958 */ 958 */
959static int __add_inline_refs(struct btrfs_fs_info *fs_info, 959static int __add_inline_refs(struct btrfs_path *path, u64 bytenr,
960 struct btrfs_path *path, u64 bytenr,
961 int *info_level, struct list_head *prefs, 960 int *info_level, struct list_head *prefs,
962 struct ref_root *ref_tree, 961 struct ref_root *ref_tree,
963 u64 *total_refs, u64 inum) 962 u64 *total_refs, u64 inum)
@@ -1354,7 +1353,7 @@ again:
1354 if (key.objectid == bytenr && 1353 if (key.objectid == bytenr &&
1355 (key.type == BTRFS_EXTENT_ITEM_KEY || 1354 (key.type == BTRFS_EXTENT_ITEM_KEY ||
1356 key.type == BTRFS_METADATA_ITEM_KEY)) { 1355 key.type == BTRFS_METADATA_ITEM_KEY)) {
1357 ret = __add_inline_refs(fs_info, path, bytenr, 1356 ret = __add_inline_refs(path, bytenr,
1358 &info_level, &prefs, 1357 &info_level, &prefs,
1359 ref_tree, &total_refs, 1358 ref_tree, &total_refs,
1360 inum); 1359 inum);