]> git.baikalelectronics.ru Git - kernel.git/commit
mm/filemap.c: include <linux/ramfs.h> for generic_file_vm_ops definition
authorBen Dooks <ben.dooks@codethink.co.uk>
Sat, 19 Oct 2019 03:20:20 +0000 (20:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 19 Oct 2019 10:32:32 +0000 (06:32 -0400)
commitad20f04a3d3beb68f80a319a1cb3a6a8312f5c47
tree59880c609121ac89a08db70a8ab8d49ec27c46af
parentabd6250db0ac6d556768d2731915349c36c78a36
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>
mm/filemap.c