mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Merge git://git.kvack.org/~bcrl/aio-next
Pull aio updates from Benjamin LaHaise. * git://git.kvack.org/~bcrl/aio-next: aio: Skip timer for io_getevents if timeout=0 aio: Make it possible to remap aio ring
This commit is contained in:
commit
7d22286ff7
3 changed files with 34 additions and 3 deletions
|
|
@ -288,7 +288,8 @@ static unsigned long move_vma(struct vm_area_struct *vma,
|
|||
old_len = new_len;
|
||||
old_addr = new_addr;
|
||||
new_addr = -ENOMEM;
|
||||
}
|
||||
} else if (vma->vm_file && vma->vm_file->f_op->mremap)
|
||||
vma->vm_file->f_op->mremap(vma->vm_file, new_vma);
|
||||
|
||||
/* Conceal VM_ACCOUNT so old reservation is not undone */
|
||||
if (vm_flags & VM_ACCOUNT) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue