aio: fix the comment in aio_kick_handler()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 14 Mar 2012 02:06:28 +0000 (22:06 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 01:29:40 +0000 (21:29 -0400)
It should've been changed when queue_work() became
queue_delayed_work(..., 0) in there.  It's always had been
about not needing a delay, not about not using specific
function...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c

index 3174cd969b01f71710b32f0fafa06b1c72f731e4..59b431a2ae0c70eb2ec8a6164585099ba7d7319c 100644 (file)
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -899,7 +899,7 @@ static void aio_kick_handler(struct work_struct *work)
        unuse_mm(mm);
        set_fs(oldfs);
        /*
-        * we're in a worker thread already, don't use queue_delayed_work,
+        * we're in a worker thread already; no point using non-zero delay
         */
        if (requeue)
                queue_delayed_work(aio_wq, &ctx->wq, 0);