mirror of https://gitee.com/openkylin/linux.git
Merge branch 'for-chris-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/fdmanana/linux into for-linus-4.5
This commit is contained in:
commit
413eddc6ca
|
@ -7985,6 +7985,7 @@ static void btrfs_endio_direct_read(struct bio *bio)
|
|||
|
||||
kfree(dip);
|
||||
|
||||
dio_bio->bi_error = bio->bi_error;
|
||||
dio_end_io(dio_bio, bio->bi_error);
|
||||
|
||||
if (io_bio->end_io)
|
||||
|
@ -8039,6 +8040,7 @@ static void btrfs_endio_direct_write(struct bio *bio)
|
|||
|
||||
kfree(dip);
|
||||
|
||||
dio_bio->bi_error = bio->bi_error;
|
||||
dio_end_io(dio_bio, bio->bi_error);
|
||||
bio_put(bio);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue