diff options
Diffstat (limited to 'kernel/fs/btrfs/compression.c')
-rw-r--r-- | kernel/fs/btrfs/compression.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fs/btrfs/compression.c b/kernel/fs/btrfs/compression.c index c473c42d7..bae05c5c7 100644 --- a/kernel/fs/btrfs/compression.c +++ b/kernel/fs/btrfs/compression.c @@ -694,7 +694,7 @@ int btrfs_submit_compressed_read(struct inode *inode, struct bio *bio, ret = btrfs_map_bio(root, READ, comp_bio, mirror_num, 0); if (ret) { - bio->bi_error = ret; + comp_bio->bi_error = ret; bio_endio(comp_bio); } @@ -723,7 +723,7 @@ int btrfs_submit_compressed_read(struct inode *inode, struct bio *bio, ret = btrfs_map_bio(root, READ, comp_bio, mirror_num, 0); if (ret) { - bio->bi_error = ret; + comp_bio->bi_error = ret; bio_endio(comp_bio); } |