From: Erez Zadok Date: Thu, 19 Jun 2014 23:05:10 +0000 (-0400) Subject: Unionfs: update mmap.c to compile X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=7180a2f643fddd291d1a6b24bfbbf5feed43f6a4;p=unionfs-2.6.26.y.git Unionfs: update mmap.c to compile --- diff --git a/fs/unionfs/mmap.c b/fs/unionfs/mmap.c index afcd3598611..538d08582e7 100644 --- a/fs/unionfs/mmap.c +++ b/fs/unionfs/mmap.c @@ -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; }