Messages in this thread Patch in this message | | | From | Tang Chen <> | Subject | [PATCH 3/5] aio: Fix wrong comment in aio_complete() | Date | Thu, 20 Jun 2013 18:10:21 +0800 |
| |
ctx->ctx_lock should be ctx->completion_lock.
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com> --- fs/aio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/aio.c b/fs/aio.c index 2bbcacf..e4a01fa 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -623,7 +623,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); -- 1.7.1
| |