]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/gfs2/file.c
mm: kill vma flag VM_CAN_NONLINEAR
[karo-tx-linux.git] / fs / gfs2 / file.c
index 30e21997a1a1323963e6de594482d3a4f9e74878..0def0504afc1816ae40b55de02c07aa68cc3a003 100644 (file)
@@ -492,6 +492,7 @@ out:
 static const struct vm_operations_struct gfs2_vm_ops = {
        .fault = filemap_fault,
        .page_mkwrite = gfs2_page_mkwrite,
+       .remap_pages = generic_file_remap_pages,
 };
 
 /**
@@ -526,7 +527,6 @@ static int gfs2_mmap(struct file *file, struct vm_area_struct *vma)
                        return error;
        }
        vma->vm_ops = &gfs2_vm_ops;
-       vma->vm_flags |= VM_CAN_NONLINEAR;
 
        return 0;
 }