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

Commit 36144077 authored by Jens Axboe's avatar Jens Axboe
Browse files

highmem: use bio_has_data() in the bounce path

parent 051cc395
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -267,7 +267,7 @@ void blk_queue_bounce(struct request_queue *q, struct bio **bio_orig)
	/*
	 * Data-less bio, nothing to bounce
	 */
	if (bio_empty_barrier(*bio_orig))
	if (!bio_has_data(*bio_orig))
		return;

	/*