Commit 9fcf03d0 authored by Al Viro's avatar Al Viro

aio: fix the comment in aio_kick_handler()

	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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent cd1ea261
...@@ -899,7 +899,7 @@ static void aio_kick_handler(struct work_struct *work) ...@@ -899,7 +899,7 @@ static void aio_kick_handler(struct work_struct *work)
unuse_mm(mm); unuse_mm(mm);
set_fs(oldfs); 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) if (requeue)
queue_delayed_work(aio_wq, &ctx->wq, 0); queue_delayed_work(aio_wq, &ctx->wq, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment