The patch titled Subject: mm/filemap.c: include <linux/ramfs.h> for generic_file_vm_ops definition has been added to the -mm tree. Its filename is mm-include-linux-ramfsh-for-generic_file_vm_ops-definition.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-include-linux-ramfsh-for-generic_file_vm_ops-definition.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-include-linux-ramfsh-for-generic_file_vm_ops-definition.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx> Subject: mm/filemap.c: include <linux/ramfs.h> for generic_file_vm_ops definition The generic_file_vm_ops is defined in <linux/ramfs.h> so include it to fix the following warning: mm/filemap.c:2717:35: warning: symbol 'generic_file_vm_ops' was not declared. Should it be static? Link: http://lkml.kernel.org/r/20191008102311.25432-1-ben.dooks@xxxxxxxxxxxxxxx Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/filemap.c | 1 + 1 file changed, 1 insertion(+) --- a/mm/filemap.c~mm-include-linux-ramfsh-for-generic_file_vm_ops-definition +++ a/mm/filemap.c @@ -40,6 +40,7 @@ #include <linux/rmap.h> #include <linux/delayacct.h> #include <linux/psi.h> +#include <linux/ramfs.h> #include "internal.h" #define CREATE_TRACE_POINTS _ Patches currently in -mm which might be from ben.dooks@xxxxxxxxxxxxxxx are mm-include-linux-huge_mmh-for-is_vma_temporary_stack.patch mm-include-linux-ramfsh-for-generic_file_vm_ops-definition.patch