projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d552877
)
aio: fix wrong comment in aio_complete()
author
Tang Chen
<
[email protected]
>
Wed, 3 Jul 2013 22:09:16 +0000
(15:09 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 3 Jul 2013 23:08:06 +0000
(16:08 -0700)
ctx->ctx_lock should be ctx->completion_lock.
Signed-off-by: Tang Chen <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/aio.c
patch
|
blob
|
history
diff --git
a/fs/aio.c
b/fs/aio.c
index a8ecc8313fb08d310276e72043e671c186ad1565..9b5ca113741948d95330d866e8e4e2cce113f3e5 100644
(file)
--- 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->c
tx
_lock to prevent other code from messing with the tail
+ * ctx->c
ompletion
_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);