aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/ctree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index d7a96cfdc50a..836e4e03edca 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -1650,8 +1650,6 @@ static noinline int balance_level(struct btrfs_trans_handle *trans,
1650 BTRFS_NODEPTRS_PER_BLOCK(root) / 4) 1650 BTRFS_NODEPTRS_PER_BLOCK(root) / 4)
1651 return 0; 1651 return 0;
1652 1652
1653 btrfs_header_nritems(mid);
1654
1655 left = read_node_slot(root, parent, pslot - 1); 1653 left = read_node_slot(root, parent, pslot - 1);
1656 if (left) { 1654 if (left) {
1657 btrfs_tree_lock(left); 1655 btrfs_tree_lock(left);
@@ -1681,7 +1679,6 @@ static noinline int balance_level(struct btrfs_trans_handle *trans,
1681 wret = push_node_left(trans, root, left, mid, 1); 1679 wret = push_node_left(trans, root, left, mid, 1);
1682 if (wret < 0) 1680 if (wret < 0)
1683 ret = wret; 1681 ret = wret;
1684 btrfs_header_nritems(mid);
1685 } 1682 }
1686 1683
1687 /* 1684 /*