mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
kthread: correct comments before kthread_queue_work()
s/kthread_worker_create/kthread_create_worker/ to avoid confusion when reading comments before kthread_queue_work(). Link: https://lkml.kernel.org/r/20241224095344.GA7587@didi-ThinkCentre-M930t-N000 Signed-off-by: Tio Zhang <tiozhang@didiglobal.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
5748be3e9e
commit
97549ce684
1 changed files with 1 additions and 1 deletions
|
|
@ -1015,7 +1015,7 @@ static void kthread_insert_work(struct kthread_worker *worker,
|
|||
* @work: kthread_work to queue
|
||||
*
|
||||
* Queue @work to work processor @task for async execution. @task
|
||||
* must have been created with kthread_worker_create(). Returns %true
|
||||
* must have been created with kthread_create_worker(). Returns %true
|
||||
* if @work was successfully queued, %false if it was already pending.
|
||||
*
|
||||
* Reinitialize the work if it needs to be used by another worker.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue