diff options
Diffstat (limited to 'fs/aio.c')
-rw-r--r-- | fs/aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ static void aio_free_ring(struct kioctx *ctx) | |||
94 | 94 | ||
95 | if (info->mmap_size) { | 95 | if (info->mmap_size) { |
96 | BUG_ON(ctx->mm != current->mm); | 96 | BUG_ON(ctx->mm != current->mm); |
97 | vm_munmap(ctx->mm, info->mmap_base, info->mmap_size); | 97 | vm_munmap(info->mmap_base, info->mmap_size); |
98 | } | 98 | } |
99 | 99 | ||
100 | if (info->ring_pages && info->ring_pages != info->internal_pages) | 100 | if (info->ring_pages && info->ring_pages != info->internal_pages) |