update
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 13 May 2022 22:02:12 +0000 (18:02 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 13 May 2022 22:02:12 +0000 (18:02 -0400)
bug-fixes/basic-user-ns.patch

index 80d46c5d817d3e12885b0045a3f824b505995552..066d6d71cb5ef1ee3586848356dcce55565985d0 100644 (file)
@@ -281,14 +281,14 @@ index 3df02cc778b3..15c97a78d765 100644
        sb->s_fs_info = kzalloc(sizeof(struct wrapfs_sb_info), GFP_KERNEL);
        if (!WRAPFS_SB(sb)) {
 diff --git a/fs/wrapfs/mmap.c b/fs/wrapfs/mmap.c
-index 9897fa585b97..d3ae80c9ded1 100644
+index 9897fa585b97..5357a0b2ff78 100644
 --- a/fs/wrapfs/mmap.c
 +++ b/fs/wrapfs/mmap.c
 @@ -15,6 +15,7 @@ static vm_fault_t wrapfs_fault(struct vm_fault *vmf)
        struct file *file, *lower_file;
        const struct vm_operations_struct *lower_vm_ops;
        struct vm_area_struct lower_vma;
-+      struct vm_area_struct **vma_p = (struct vm_area_struct**) &vmf->vma;
++      struct vm_area_struct **vma_p = (struct vm_area_struct **) &vmf->vma;
  
        memcpy(&lower_vma, vma, sizeof(struct vm_area_struct));
        file = lower_vma.vm_file;
@@ -308,7 +308,7 @@ index 9897fa585b97..d3ae80c9ded1 100644
        struct file *file, *lower_file;
        const struct vm_operations_struct *lower_vm_ops;
        struct vm_area_struct lower_vma;
-+      struct vm_area_struct **vma_p = (struct vm_area_struct**) &vmf->vma;
++      struct vm_area_struct **vma_p = (struct vm_area_struct **) &vmf->vma;
  
        memcpy(&lower_vma, vma, sizeof(struct vm_area_struct));
        file = lower_vma.vm_file;