On Tue, Aug 28, 2018 at 11:18 PM Souptick Joarder <jrdr.linux@xxxxxxxxx> wrote: > > As part of vm_fault_t conversion filemap_page_mkwrite() > for NOMMU case was missed. Now converted. > > Signed-off-by: Souptick Joarder <jrdr.linux@xxxxxxxxx> cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> > --- > mm/filemap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/mm/filemap.c b/mm/filemap.c > index 52517f2..de6fed2 100644 > --- a/mm/filemap.c > +++ b/mm/filemap.c > @@ -2748,9 +2748,9 @@ 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; > + return VM_FAULT_SIGBUS; > } > int generic_file_mmap(struct file * file, struct vm_area_struct * vma) > { > -- > 1.9.1 >