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

From: Mark Brown

Date: Wed Jan 28 2026 - 08:47:52 EST


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: signature.asc
Description: PGP signature