Re: linux-next: build failure after merge of the block tree

From: Jens Axboe
Date: Fri Sep 16 2016 - 00:25:59 EST


On 09/15/2016 07:14 PM, Stephen Rothwell wrote:
Hi Jens,

After merging the block tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/block/nbd.c:884:2: error: unknown field 'map_queue' specified in initializer
.map_queue = blk_mq_map_queue,
^
/home/sfr/next/next/drivers/block/nbd.c:884:15: error: 'blk_mq_map_queue' undeclared here (not in a function)
.map_queue = blk_mq_map_queue,
^

Caused by commit

9151bcb4fb38 ("blk-mq: kill unused blk_mq_create_mq_map()")

interacting with commit

fd8383fd88a2 ("nbd: convert to blkmq")

also in the block tree.

That's my fault, when merged together the nbd part needs an update. I've
pushed out a fix for it.

--
Jens Axboe