|
@@ -2380,7 +2380,7 @@ int btrfs_del_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
|
|
|
}
|
|
|
|
|
|
/* delete the leaf if it is mostly empty */
|
|
|
- if (0 && used < BTRFS_LEAF_DATA_SIZE(root) / 3) {
|
|
|
+ if (used < BTRFS_LEAF_DATA_SIZE(root) / 3) {
|
|
|
/* push_leaf_left fixes the path.
|
|
|
* make sure the path still points to our leaf
|
|
|
* for possible call to del_ptr below
|