From: Tang Chen Date: Wed, 3 Jul 2013 22:09:16 +0000 (-0700) Subject: aio: fix wrong comment in aio_complete() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b30f07e74d2df673925019ad58bc59a719df3bb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git aio: fix wrong comment in aio_complete() ctx->ctx_lock should be ctx->completion_lock. Signed-off-by: Tang Chen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/aio.c b/fs/aio.c index a8ecc8313fb0..9b5ca1137419 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -625,7 +625,7 @@ void aio_complete(struct kiocb *iocb, long res, long res2) /* * Add a completion event to the ring buffer. Must be done holding - * ctx->ctx_lock to prevent other code from messing with the tail + * ctx->completion_lock to prevent other code from messing with the tail * pointer since we might be called from irq context. */ spin_lock_irqsave(&ctx->completion_lock, flags);