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

From: Stephen Rothwell
Date: Sun Dec 08 2024 - 19:02:01 EST


Hi all,

After merging the mm tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

fs/aio.c:478:27: error: 'noop_dirty_folio' undeclared here (not in a function)
478 | .dirty_folio = noop_dirty_folio,
| ^~~~~~~~~~~~~~~~
fs/aio.c: In function 'aio_setup_ring':
fs/aio.c:524:25: error: implicit declaration of function '__filemap_get_folio'; did you mean 'filemap_dirty_folio'? [-Wimplicit-function-declaration]
524 | folio = __filemap_get_folio(file->f_mapping, i,
| ^~~~~~~~~~~~~~~~~~~
| filemap_dirty_folio
fs/aio.c:525:45: error: 'FGP_LOCK' undeclared (first use in this function); did you mean 'BPF_F_LOCK'?
525 | FGP_LOCK | FGP_ACCESSED | FGP_CREAT,
| ^~~~~~~~
| BPF_F_LOCK
fs/aio.c:525:45: note: each undeclared identifier is reported only once for each function it appears in
fs/aio.c:525:56: error: 'FGP_ACCESSED' undeclared (first use in this function)
525 | FGP_LOCK | FGP_ACCESSED | FGP_CREAT,
| ^~~~~~~~~~~~
fs/aio.c:525:71: error: 'FGP_CREAT' undeclared (first use in this function); did you mean 'IPC_CREAT'?
525 | FGP_LOCK | FGP_ACCESSED | FGP_CREAT,
| ^~~~~~~~~
| IPC_CREAT
fs/aio.c:532:17: error: implicit declaration of function 'folio_end_read'; did you mean 'folio_test_head'? [-Wimplicit-function-declaration]
532 | folio_end_read(folio, true);
| ^~~~~~~~~~~~~~
| folio_test_head

Caused by commit

98a9217fdcb8 ("mempolicy.h: remove unnecessary header file inclusions")

from the mm-unstable branch of the mm tree.

I have reverted that commit for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpNAHznmtC__.pgp
Description: OpenPGP digital signature