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

Mark Brown
2026-01-28T13:47:48Z

[-- Attachment #1: Type: text/plain, Size: 1333 bytes --]

Hi all,

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

/tmp/next/build/fs/btrfs/inode.c: In function 'zero_last_folio':
/tmp/next/build/fs/btrfs/inode.c:869:32: error: implicit declaration of function 'bio_last_bvec_all'; did you mean 'bio_first_bvec_all'? [-Wimplicit-function-declaration]
869 | struct bio_vec *bvec = bio_last_bvec_all(bio);
| ^~~~~~~~~~~~~~~~~
| bio_first_bvec_all
/tmp/next/build/fs/btrfs/inode.c:869:32: error: initialization of 'struct bio_vec *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
/tmp/next/build/fs/btrfs/inode.c: In function 'round_up_last_block':
/tmp/next/build/fs/btrfs/inode.c:881:32: error: initialization of 'struct bio_vec *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
881 | struct bio_vec *bvec = bio_last_bvec_all(bio);
| ^~~~~~~~~~~~~~~~~

Caused by commit

68a1d4ad30e5d (btrfs: switch to btrfs_compress_bio() interface for compressed writes)

from the btrfs tree interacting with commit

72a41750f1a35 (block: remove bio_last_bvec_all)

from the block tree. I have reverted the latter commit and can carry as
needed.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]