]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitd0e6a5821cdf08eea91d8597dce1ad695ebeb8bc
tree59880c609121ac89a08db70a8ab8d49ec27c46af
parent444f84fd2ac7bae36f3dd3ce1d39d11211c2c72a
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