Re: linux-next: build failure after merge of the block tree
From: Jens Axboe
Date: Thu Mar 17 2011 - 06:19:05 EST
On 2011-03-17 00:32, Stephen Rothwell wrote:
> Hi all,
> On Mon, 14 Mar 2011 16:19:19 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>> After merging the block tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
>> drivers/mtd/mtd_blkdevs.c: In function 'mtd_blktrans_cease_background':
>> drivers/mtd/mtd_blkdevs.c:127: error: implicit declaration of function 'elv_queue_empty'
>> Caused by commit 7eaceaccab5f ("block: remove per-queue plugging")
>> interacting with commit c7519dbf6f4b ("mtd_blkdevs: Add background
>> processing support") from the mtd tree.
>> I have no idea how to fix this up, so I have reverted the above commit
>> from them mtd tree (along with commits a32159024620 "mtd: Add mtdswap
>> block driver" and 89d8d32060de "mtd: fix printf format warnings, mostly
>> lack of %zd for size_t, in mtdswap" that depend on it).
>> Jens, maybe you could advise the mtd guys.
Can you point me at the commit in question? Generally, elv_queue_empty()
can be replaced by blk_peek_request().
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/