Skip to content

Commit 413eddc

Browse files
committed
Merge branch 'for-chris-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/fdmanana/linux into for-linus-4.5
2 parents bc4ef75 + 1636d1d commit 413eddc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/btrfs/inode.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7985,6 +7985,7 @@ static void btrfs_endio_direct_read(struct bio *bio)
79857985

79867986
kfree(dip);
79877987

7988+
dio_bio->bi_error = bio->bi_error;
79887989
dio_end_io(dio_bio, bio->bi_error);
79897990

79907991
if (io_bio->end_io)
@@ -8039,6 +8040,7 @@ static void btrfs_endio_direct_write(struct bio *bio)
80398040

80408041
kfree(dip);
80418042

8043+
dio_bio->bi_error = bio->bi_error;
80428044
dio_end_io(dio_bio, bio->bi_error);
80438045
bio_put(bio);
80448046
}

0 commit comments

Comments
 (0)