Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 4 messages Aug 24, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Jens,

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

block/bio-integrity.c: In function '__bio_integrity_endio':
block/bio-integrity.c:388:51: error: 'struct bio' has no member named 'bi_bdev'

  struct blk_integrity *bi = bdev_get_integrity(bio->bi_bdev);
                                                   ^

Caused by commit

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

interacting with commit

c775d2098d35 ("bio-integrity: Fix regression if profile verify_fn is NULL")

from Linus' tree (before v4.13-rc5).

This should have been fixed up in commit

3b8848b41130 ("Merge branch 'master' into for-next")

I have used the block tree from next-20170823 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 17 lines · On Thu, 24 Aug 2017 13:32:03 +1000 Stephen Rothwell <[email protected]>…

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

block/bio-integrity.c: In function '__bio_integrity_endio':
block/bio-integrity.c:388:51: error: 'struct bio' has no member named 'bi_bdev'

  struct blk_integrity *bi = bdev_get_integrity(bio->bi_bdev);
                                                   ^

Caused by commit

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

interacting with commit

c775d2098d35 ("bio-integrity: Fix regression if profile verify_fn is NULL")

Quoted 7 lines

from Linus' tree (before v4.13-rc5).

This should have been fixed up in commit

3b8848b41130 ("Merge branch 'master' into for-next")

I have used the block tree from next-20170823 for today.

The other remaining reference to bi_bdev is in Documentation/block/biodoc.txt.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw

Hi Stephen,

Keith already sent a patch for this, it was a rebase failure :(

The documentation one is intentional - the document is completely out of data, so doctoring around a bit won't help. I'll try to find some time to replace it with a sane new doc that use the ReST stuff to not duplicate the structure.

#3 lore raw

Hi Christoph,

Quoted 2 lines · On Thu, 24 Aug 2017 10:44:10 +0200 Christoph Hellwig <[email protected]> wrote:

Keith already sent a patch for this, it was a rebase failure :(

Ah, OK, thanks.

Quoted 4 lines

The documentation one is intentional - the document is completely out of data, so doctoring around a bit won't help. I'll try to find some time to replace it with a sane new doc that use the ReST stuff to not duplicate the structure.

Seems like a plan.

Signature · 2 lines
Cheers,
Stephen Rothwell