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

Commit 5168afe6 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge tag 'for-linus-20190726-2' of git://git.kernel.dk/linux-block

Pull block DMA segment fix from Jens Axboe:
 "Here's the virtual boundary segment size fix"

* tag 'for-linus-20190726-2' of git://git.kernel.dk/linux-block:
  block: fix max segment size handling in blk_queue_virt_boundary
parents 40233e7c c6c84f78
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -752,6 +752,7 @@ void blk_queue_virt_boundary(struct request_queue *q, unsigned long mask)
	 * page (which might not be idential to the Linux PAGE_SIZE).  Because
	 * of that they are not limited by our notion of "segment size".
	 */
	if (mask)
		q->limits.max_segment_size = UINT_MAX;
}
EXPORT_SYMBOL(blk_queue_virt_boundary);