VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Ming Lei <ming.lei@redhat.com> 2021-01-11 11:05:53 +0800 committer: Jens Axboe <axboe@kernel.dk> 2021-01-24 21:22:45 -0700 commit: c495a17679523c95f77f13697a71921dd5c224cd parent: 49d1ec8573f74ff1e23df1d5092211de46baa236
Commit Summary:
block: don't pass BIOSET_NEED_BVECS for q->bio_split
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/block/blk-core.c b/block/blk-core.c
index 6dfbdde6b9ff..88f608904432 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -531,7 +531,7 @@ struct request_queue *blk_alloc_queue(int node_id)
 	if (q->id < 0)
 		goto fail_q;
 
-	ret = bioset_init(&q->bio_split, BIO_POOL_SIZE, 0, BIOSET_NEED_BVECS);
+	ret = bioset_init(&q->bio_split, BIO_POOL_SIZE, 0, 0);
 	if (ret)
 		goto fail_id;