diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index dc3c03c6612d..5e0857ffbc35 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -2095,8 +2095,6 @@ struct extent_buffer *btrfs_alloc_free_block(struct btrfs_trans_handle *trans, | |||
2095 | 2095 | ||
2096 | set_extent_dirty(&trans->transaction->dirty_pages, buf->start, | 2096 | set_extent_dirty(&trans->transaction->dirty_pages, buf->start, |
2097 | buf->start + buf->len - 1, GFP_NOFS); | 2097 | buf->start + buf->len - 1, GFP_NOFS); |
2098 | if (!btrfs_test_opt(root, SSD)) | ||
2099 | btrfs_set_buffer_defrag(buf); | ||
2100 | trans->blocks_used++; | 2098 | trans->blocks_used++; |
2101 | return buf; | 2099 | return buf; |
2102 | } | 2100 | } |