diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-21 03:57:04 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-04-21 07:58:20 +0200 |
commit | bfce281c287a427d0841fadf5d59242757b4e620 (patch) | |
tree | abca9ebeef4c668021e85e4d54e6e779121e92cc /fs/aio.c | |
parent | perfmon: kill some helpers and arguments (diff) | |
download | linux-bfce281c287a427d0841fadf5d59242757b4e620.tar.xz linux-bfce281c287a427d0841fadf5d59242757b4e620.zip |
kill mm argument of vm_munmap()
it's always current->mm
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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) 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) |