aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/ctree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 8ad8b5cc295a..ac999f0060b6 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -1485,7 +1485,7 @@ static int split_node(struct btrfs_trans_handle *trans, struct btrfs_root
1485 ret = push_nodes_for_insert(trans, root, path, level); 1485 ret = push_nodes_for_insert(trans, root, path, level);
1486 c = path->nodes[level]; 1486 c = path->nodes[level];
1487 if (!ret && btrfs_header_nritems(c) < 1487 if (!ret && btrfs_header_nritems(c) <
1488 BTRFS_NODEPTRS_PER_BLOCK(root) - 1) 1488 BTRFS_NODEPTRS_PER_BLOCK(root) - 3)
1489 return 0; 1489 return 0;
1490 if (ret < 0) 1490 if (ret < 0)
1491 return ret; 1491 return ret;