We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc4ef75 + 1636d1d commit 413eddcCopy full SHA for 413eddc
fs/btrfs/inode.c
@@ -7985,6 +7985,7 @@ static void btrfs_endio_direct_read(struct bio *bio)
7985
7986
kfree(dip);
7987
7988
+ dio_bio->bi_error = bio->bi_error;
7989
dio_end_io(dio_bio, bio->bi_error);
7990
7991
if (io_bio->end_io)
@@ -8039,6 +8040,7 @@ static void btrfs_endio_direct_write(struct bio *bio)
8039
8040
8041
8042
8043
8044
8045
bio_put(bio);
8046
}
0 commit comments