linux-next: build failure after merge of the akpm-current tree

From: Stephen Rothwell
Date: Fri Aug 25 2017 - 04:13:03 EST


Hi all,

After merging the akpm-current tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/block/zram/zram_drv.c: In function 'read_from_bdev_a
sync':
drivers/block/zram/zram_drv.c:461:5: error: 'struct bio' has
no member named 'bi_bdev'
bio->bi_bdev = zram->bdev;
^
drivers/block/zram/zram_drv.c: In function 'write_to_bdev':
drivers/block/zram/zram_drv.c:555:5: error: 'struct bio' has
no member named 'bi_bdev'
bio->bi_bdev = zram->bdev;
^

Caused by commits

827180946edf ("zram: write incompressible pages to backing device")
83ff0ec8b13f ("zram: read page from backing device")

interacting with commit

74d46992e0d9 ("block: replace bi_bdev with a gendisk pointer and partitions index")

from the block tree.

I have no idea how to fix this up, so I just disabled CONFIG_ZRAM
for today.

If someone could look at providing a resolution, that would help.
--
Cheers,
Stephen Rothwell