Unionfs: update mmap.c to compile
authorErez Zadok <ezk@cs.sunysb.edu>
Thu, 19 Jun 2014 23:05:02 +0000 (19:05 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Thu, 19 Jun 2014 23:05:02 +0000 (19:05 -0400)
fs/unionfs/mmap.c

index afcd3598611d57c4c17898cdb91ff6613cdd2fb4..538d08582e7e54b8f5c5a1f70c90a3995e21050c 100644 (file)
@@ -66,7 +66,7 @@ static int unionfs_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
 }
 
 static int unionfs_page_mkwrite(struct vm_area_struct *vma,
-                               struct vm_fault *vmf)
+                               struct page *page)
 {
        int err = 0;
        struct file *file, *lower_file;
@@ -95,7 +95,7 @@ static int unionfs_page_mkwrite(struct vm_area_struct *vma,
         * ->page_mkwrite to take an explicit file pointer.
         */
        lower_vma.vm_file = lower_file;
-       err = lower_vm_ops->page_mkwrite(&lower_vma, vmf);
+       err = lower_vm_ops->page_mkwrite(&lower_vma, page);
 out:
        return err;
 }