diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 0cb742884cdf..283b08a32a43 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -1898,10 +1898,6 @@ struct extent_buffer *__btrfs_alloc_free_block(struct btrfs_trans_handle *trans, | |||
1898 | 1898 | ||
1899 | set_extent_dirty(&trans->transaction->dirty_pages, buf->start, | 1899 | set_extent_dirty(&trans->transaction->dirty_pages, buf->start, |
1900 | buf->start + buf->len - 1, GFP_NOFS); | 1900 | buf->start + buf->len - 1, GFP_NOFS); |
1901 | set_extent_bits(&BTRFS_I(root->fs_info->btree_inode)->io_tree, | ||
1902 | buf->start, buf->start + buf->len - 1, | ||
1903 | EXTENT_CSUM, GFP_NOFS); | ||
1904 | buf->flags |= EXTENT_CSUM; | ||
1905 | if (!btrfs_test_opt(root, SSD)) | 1901 | if (!btrfs_test_opt(root, SSD)) |
1906 | btrfs_set_buffer_defrag(buf); | 1902 | btrfs_set_buffer_defrag(buf); |
1907 | trans->blocks_used++; | 1903 | trans->blocks_used++; |