aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/inode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 657f16d9c78b..bf609581c5d0 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -5692,9 +5692,6 @@ static struct extent_map *btrfs_new_extent_direct(struct inode *inode,
5692 if (IS_ERR(trans)) 5692 if (IS_ERR(trans))
5693 return ERR_CAST(trans); 5693 return ERR_CAST(trans);
5694 5694
5695 if (start <= BTRFS_I(inode)->disk_i_size && len < 64 * 1024)
5696 btrfs_add_inode_defrag(trans, inode);
5697
5698 trans->block_rsv = &root->fs_info->delalloc_block_rsv; 5695 trans->block_rsv = &root->fs_info->delalloc_block_rsv;
5699 5696
5700 alloc_hint = get_extent_allocation_hint(inode, start, len); 5697 alloc_hint = get_extent_allocation_hint(inode, start, len);