Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Feb 26, 2025 – Feb 27, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the btrfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

fs/btrfs/extent_io.c: In function 'btrfs_set_folio_subpage':
fs/btrfs/extent_io.c:874:45: error: passing argument 2 of 'btrfs_is_subpage' from incompatible pointer type [-Wincompatible-pointer-types]

  874 |         if (!btrfs_is_subpage(fs_info, folio->mapping))
      |                                        ~~~~~^~~~~~~~~
      |                                             |
      |                                             struct address_space *
In file included from fs/btrfs/extent_io.c:26:
fs/btrfs/subpage.h:95:51: note: expected 'struct folio *' but argument is of type 'struct address_space *'
   95 |                                     struct folio *folio)
      |                                     ~~~~~~~~~~~~~~^~~~~

Caused by commit

40524fd05deb ("btrfs: kill EXTENT_FOLIO_PRIVATE")

I have used the btffs tree from next-20250226 for today.

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

Hi all,

After merging the btrfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

fs/btrfs/extent_io.c: In function 'btrfs_set_folio_subpage':
fs/btrfs/extent_io.c:874:45: error: passing argument 2 of 'btrfs_is_subpage' from incompatible pointer type [-Wincompatible-pointer-types]

  874 |         if (!btrfs_is_subpage(fs_info, folio->mapping))
      |                                        ~~~~~^~~~~~~~~
      |                                             |
      |                                             struct address_space *
In file included from fs/btrfs/extent_io.c:26:
fs/btrfs/subpage.h:95:51: note: expected 'struct folio *' but argument is of type 'struct address_space *'
   95 |                                     struct folio *folio)
      |                                     ~~~~~~~~~~~~~~^~~~~
Quoted 5 lines

Caused by commit

40524fd05deb ("btrfs: kill EXTENT_FOLIO_PRIVATE")

I have used the btffs tree from next-20250226 for today.

Fixed in in today's for-next snapshot.