Arnd Bergmann 453972283d mm/filemap.c: provide dummy filemap_page_mkwrite() for NOMMU
Building orangefs on MMU-less machines now results in a link error
because of the newly introduced use of the filemap_page_mkwrite()
function:

  ERROR: "filemap_page_mkwrite" [fs/orangefs/orangefs.ko] undefined!

This adds a dummy version for it, similar to the existing
generic_file_mmap and generic_file_readonly_mmap stubs in the same file,
to avoid the link error without adding #ifdefs in each file system that
uses these.

Link: http://lkml.kernel.org/r/20180409105555.2439976-1-arnd@arndb.de
Fixes: a5135eeab2e5 ("orangefs: implement vm_ops->fault")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Martin Brandenburg <martin@omnibond.com>
Cc: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-04-13 17:10:27 -07:00
..
2017-06-05 16:59:12 +02:00
2018-04-11 10:28:32 -07:00
2018-04-13 17:10:27 -07:00
2018-04-11 10:28:39 -07:00
2018-04-11 10:28:32 -07:00
2017-11-15 18:21:05 -08:00
2018-04-11 10:28:39 -07:00
2018-04-07 12:08:19 -07:00
2018-04-11 10:28:39 -07:00
2018-04-11 10:28:32 -07:00
2018-04-11 10:28:32 -07:00
2018-04-11 10:28:39 -07:00
2018-04-11 10:28:38 -07:00
2018-04-11 10:28:39 -07:00
2018-04-11 10:28:39 -07:00
2018-04-11 10:28:39 -07:00
2018-04-11 10:28:39 -07:00
2017-11-15 18:21:01 -08:00
2018-04-11 10:28:39 -07:00
2018-04-11 10:28:39 -07:00
2018-04-13 17:10:27 -07:00
2018-04-11 10:28:39 -07:00
2018-04-11 10:28:39 -07:00
2018-02-06 18:32:48 -08:00