fixed build on 6.5.9 on Opensuse Tumbleweed

This commit is contained in:
Ethan Atchley 2023-11-10 19:11:00 -05:00
parent 205c8037e6
commit 180f370064

View File

@ -390,7 +390,8 @@ static int ashmem_mmap(struct file *file, struct vm_area_struct *vma)
ret = -EPERM;
goto out;
}
vma->vm_flags &= ~calc_vm_may_flags(~asma->prot_mask);
vma->vm_flags;
~calc_vm_may_flags(~asma->prot_mask);
if (!asma->file) {
char *name = ASHMEM_NAME_DEF;