VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Christoph Hellwig <hch@lst.de> 2021-04-09 17:04:46 +0200 committer: Jens Axboe <axboe@kernel.dk> 2021-04-12 06:45:12 -0600 commit: cbb749cf377aa8aa32a036ebe9dd9f2d89037bf0 parent: d173b65aa75fe8d97bccf429c001633910d20bfb
Commit Summary:
block: remove an incorrect check from blk_rq_append_bio
Diffstat:
1 file changed, 0 insertions, 3 deletions
diff --git a/block/blk-map.c b/block/blk-map.c
index dac78376acc8..3743158ddaeb 100644
--- a/block/blk-map.c
+++ b/block/blk-map.c
@@ -485,9 +485,6 @@ int blk_rq_append_bio(struct request *rq, struct bio *bio)
 	struct bio_vec bv;
 	unsigned int nr_segs = 0;
 
-	if (WARN_ON_ONCE(rq->q->limits.bounce != BLK_BOUNCE_NONE))
-		return -EINVAL;
-
 	bio_for_each_bvec(bv, bio, iter)
 		nr_segs++;