summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-10 20:30:23 +0100
committerDavid Sterba <dsterba@suse.com>2017-02-17 12:03:55 +0100
commit15b34517a6368c607ae7fd51c24cdc69efcd47fc (patch)
tree1ed03f9fe8ea995602af084ee8dbfc380b1b0ba6 /fs
parent0e8d931a824aa1585e638d3c51cb172dfc982595 (diff)
downloadop-kernel-dev-15b34517a6368c607ae7fd51c24cdc69efcd47fc.zip
op-kernel-dev-15b34517a6368c607ae7fd51c24cdc69efcd47fc.tar.gz
btrfs: remove unused parameter from adjust_slots_upwards
Never used. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/qgroup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index 043c6c9..a48bf54 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -1589,8 +1589,7 @@ int btrfs_qgroup_trace_leaf_items(struct btrfs_trans_handle *trans,
* If we increment the root nodes slot counter past the number of
* elements, 1 is returned to signal completion of the search.
*/
-static int adjust_slots_upwards(struct btrfs_root *root,
- struct btrfs_path *path, int root_level)
+static int adjust_slots_upwards(struct btrfs_path *path, int root_level)
{
int level = 0;
int nr, slot;
@@ -1731,7 +1730,7 @@ walk_down:
goto out;
/* Nonzero return here means we completed our search */
- ret = adjust_slots_upwards(root, path, root_level);
+ ret = adjust_slots_upwards(path, root_level);
if (ret)
break;
OpenPOWER on IntegriCloud