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: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
2
fs/aio.c
2
fs/aio.c
@@ -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);
|
||||||
|
Reference in New Issue
Block a user