[PATCH 02/14] fs: make the filemap_page_mkwrite prototype consistent
Christoph Hellwig
hch at lst.de
Tue May 15 22:43:36 PDT 2018
!CONFIG_MMU version didn't agree with the rest of the kernel..
Signed-off-by: Christoph Hellwig <hch at lst.de>
---
mm/filemap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/filemap.c b/mm/filemap.c
index 52517f28e6f4..cf21ced98eff 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -2748,7 +2748,7 @@ int generic_file_readonly_mmap(struct file *file, struct vm_area_struct *vma)
return generic_file_mmap(file, vma);
}
#else
-int filemap_page_mkwrite(struct vm_fault *vmf)
+vm_fault_t filemap_page_mkwrite(struct vm_fault *vmf)
{
return -ENOSYS;
}
--
2.17.0
More information about the linux-arm-kernel
mailing list