mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
kill mm argument of vm_munmap()
it's always current->mm Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
9f3a4afb27
commit
bfce281c28
8 changed files with 12 additions and 11 deletions
2
fs/aio.c
2
fs/aio.c
|
|
@ -94,7 +94,7 @@ static void aio_free_ring(struct kioctx *ctx)
|
|||
|
||||
if (info->mmap_size) {
|
||||
BUG_ON(ctx->mm != current->mm);
|
||||
vm_munmap(ctx->mm, info->mmap_base, info->mmap_size);
|
||||
vm_munmap(info->mmap_base, info->mmap_size);
|
||||
}
|
||||
|
||||
if (info->ring_pages && info->ring_pages != info->internal_pages)
|
||||
|
|
|
|||
Loading…
Reference in a new issue