diff options
author | Tang Chen <tangchen@cn.fujitsu.com> | 2013-07-03 22:09:16 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 23:08:06 (GMT) |
commit | 4b30f07e74d2df673925019ad58bc59a719df3bb (patch) | |
tree | edc238c9107f3b7d8fc97cca077683bd3b7f99f0 | |
parent | d5528773e68e35512f69dd574e25d8c81e7d3105 (diff) | |
download | linux-fsl-qoriq-4b30f07e74d2df673925019ad58bc59a719df3bb.tar.xz |
aio: fix wrong comment in aio_complete()
ctx->ctx_lock should be ctx->completion_lock.
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |