Skip to content

Commit d0e6a58

Browse files
bjdooks-cttorvalds
authored andcommitted
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/[email protected] Signed-off-by: Ben Dooks <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 444f84f commit d0e6a58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mm/filemap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#include <linux/rmap.h>
4141
#include <linux/delayacct.h>
4242
#include <linux/psi.h>
43+
#include <linux/ramfs.h>
4344
#include "internal.h"
4445

4546
#define CREATE_TRACE_POINTS

0 commit comments

Comments
 (0)