aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.c')
-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 c0c95cccbb5b..f6f7a6af0357 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -2887,8 +2887,8 @@ int btrfs_split_item(struct btrfs_trans_handle *trans,
2887 path->keep_locks = 0; 2887 path->keep_locks = 0;
2888 BUG_ON(ret); 2888 BUG_ON(ret);
2889 2889
2890 BUG_ON(btrfs_leaf_free_space(root, leaf) < sizeof(struct btrfs_item));
2891 leaf = path->nodes[0]; 2890 leaf = path->nodes[0];
2891 BUG_ON(btrfs_leaf_free_space(root, leaf) < sizeof(struct btrfs_item));
2892 2892
2893split: 2893split:
2894 item = btrfs_item_nr(leaf, path->slots[0]); 2894 item = btrfs_item_nr(leaf, path->slots[0]);