aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/ctree.c2
-rw-r--r--fs/btrfs/file.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 74fec6b83a8b..54967099a8eb 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -2380,7 +2380,7 @@ int btrfs_del_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
2380 } 2380 }
2381 2381
2382 /* delete the leaf if it is mostly empty */ 2382 /* delete the leaf if it is mostly empty */
2383 if (0 && used < BTRFS_LEAF_DATA_SIZE(root) / 3) { 2383 if (used < BTRFS_LEAF_DATA_SIZE(root) / 3) {
2384 /* push_leaf_left fixes the path. 2384 /* push_leaf_left fixes the path.
2385 * make sure the path still points to our leaf 2385 * make sure the path still points to our leaf
2386 * for possible call to del_ptr below 2386 * for possible call to del_ptr below
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 1af2b6534dad..4aacf99bd97f 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -289,7 +289,7 @@ static int dirty_and_release_pages(struct btrfs_trans_handle *trans,
289 */ 289 */
290 inline_size = end_pos; 290 inline_size = end_pos;
291 if (isize >= BTRFS_MAX_INLINE_DATA_SIZE(root) || 291 if (isize >= BTRFS_MAX_INLINE_DATA_SIZE(root) ||
292 inline_size > 16384 || 292 inline_size > 8192 ||
293 inline_size >= BTRFS_MAX_INLINE_DATA_SIZE(root)) { 293 inline_size >= BTRFS_MAX_INLINE_DATA_SIZE(root)) {
294 u64 last_end; 294 u64 last_end;
295 295