diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2019-10-19 05:20:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-10-19 12:32:32 +0200 |
commit | d0e6a5821cdf08eea91d8597dce1ad695ebeb8bc (patch) | |
tree | 59880c609121ac89a08db70a8ab8d49ec27c46af /mm | |
parent | mm: include <linux/huge_mm.h> for is_vma_temporary_stack (diff) | |
download | linux-d0e6a5821cdf08eea91d8597dce1ad695ebeb8bc.tar.xz linux-d0e6a5821cdf08eea91d8597dce1ad695ebeb8bc.zip |
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@codethink.co.uk
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/filemap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 1146fcfa3215..85b7d087eb45 100644 --- a/mm/filemap.c +++ b/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 |