Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Mar 15, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

mm/readahead.c: In function 'read_cache_pages_invalidate_page':
mm/readahead.c:54:17: error: implicit declaration of function 'do_invalidatepage'; did you mean 'd_invalidate'? [-Werror=implicit-function-declaration]

   54 |                 do_invalidatepage(page, 0, PAGE_SIZE);
      |                 ^~~~~~~~~~~~~~~~~
      |                 d_invalidate

Caused by commit

f1fdabbaae8e ("fs: Turn do_invalidatepage() into folio_invalidate()")

I have used the folio tree from next-20220310 for today.

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

Hi all,

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

mm/readahead.c: In function 'read_cache_pages_invalidate_page':
mm/readahead.c:54:17: error: implicit declaration of function 'do_invalidatepage'; did you mean 'd_invalidate'? [-Werror=implicit-function-declaration]

   54 |                 do_invalidatepage(page, 0, PAGE_SIZE);
      |                 ^~~~~~~~~~~~~~~~~
      |                 d_invalidate
Quoted 5 lines

Caused by commit

f1fdabbaae8e ("fs: Turn do_invalidatepage() into folio_invalidate()")

I have used the folio tree from next-20220310 for today.

Sorry about that. Originally, I'd removed that entire function in an earlier commit, but had to shuffle that commit to after the NFS tree merges.

There's a new for-next for your merge resolution tomorrow ... not much I can do about the conflicts, but all your resolutions seemed reasonable. Fixed a couple of other build bugs noted by the build bots (ceph & hostfs)