Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d81fec0f authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

missed bio_endio() in axonram

parent e8690861
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ axon_ram_make_request(struct request_queue *queue, struct bio *bio)
	transfered = 0;
	bio_for_each_segment(vec, bio, idx) {
		if (unlikely(phys_mem + vec->bv_len > phys_end)) {
			bio_io_error(bio, bio->bi_size);
			bio_io_error(bio);
			rc = -ERANGE;
			break;
		}
@@ -131,7 +131,7 @@ axon_ram_make_request(struct request_queue *queue, struct bio *bio)
		phys_mem += vec->bv_len;
		transfered += vec->bv_len;
	}
	bio_endio(bio, transfered, 0);
	bio_endio(bio, 0);

	return rc;
}