btrfs: relocation: set trans to be NULL after ending transaction
[sfrench/cifs-2.6.git] / fs / btrfs / compression.c
index 9bfa66592aa7b2a16722858ce3887848c19e5256..8703ce68fe9d164ea782a1ed67a8d9ff194ab70e 100644 (file)
@@ -528,7 +528,6 @@ blk_status_t btrfs_submit_compressed_read(struct inode *inode, struct bio *bio,
                                 int mirror_num, unsigned long bio_flags)
 {
        struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb);
-       struct extent_io_tree *tree;
        struct extent_map_tree *em_tree;
        struct compressed_bio *cb;
        unsigned long compressed_len;
@@ -545,7 +544,6 @@ blk_status_t btrfs_submit_compressed_read(struct inode *inode, struct bio *bio,
        int faili = 0;
        u32 *sums;
 
-       tree = &BTRFS_I(inode)->io_tree;
        em_tree = &BTRFS_I(inode)->extent_tree;
 
        /* we need the actual starting offset of this extent in the file */