Commit 13ca00e1 authored by Benjamin LaHaise's avatar Benjamin LaHaise Committed by Anton Blanchard

get rid of a double free in aio.c introduced by a merge mistake.

parent c9f26fb1
......@@ -410,8 +410,6 @@ static struct kiocb *__aio_get_req(struct kioctx *ctx)
req->ki_ctx = ctx;
req->ki_users = 1;
okay = 1;
} else {
kmem_cache_free(kiocb_cachep, req);
}
kunmap_atomic(ring, KM_USER0);
spin_unlock_irq(&ctx->ctx_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment