diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2019-03-01 16:57:25 -0500 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2019-03-05 10:52:39 -0500 |
| commit | bf393fd4a3c888e6d407968f461900481bd0c041 (patch) | |
| tree | 3629fd51b4ac9ffddf09040f626d8de269eedafe /kernel/workqueue.c | |
| parent | 8bdc6201785d0b5231bfd77bf2b62726395092d7 (diff) | |
workqueue: Fix spelling in source code comments
Change "execuing" into "executing" and "guarnateed" into "guaranteed".
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/workqueue.c')
| -rw-r--r-- | kernel/workqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 29a4de4025be..1ef68ac89162 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
| @@ -1321,7 +1321,7 @@ static bool is_chained_work(struct workqueue_struct *wq) | |||
| 1321 | 1321 | ||
| 1322 | worker = current_wq_worker(); | 1322 | worker = current_wq_worker(); |
| 1323 | /* | 1323 | /* |
| 1324 | * Return %true iff I'm a worker execuing a work item on @wq. If | 1324 | * Return %true iff I'm a worker executing a work item on @wq. If |
| 1325 | * I'm @worker, it's safe to dereference it without locking. | 1325 | * I'm @worker, it's safe to dereference it without locking. |
| 1326 | */ | 1326 | */ |
| 1327 | return worker && worker->current_pwq->wq == wq; | 1327 | return worker && worker->current_pwq->wq == wq; |
| @@ -1619,7 +1619,7 @@ static void rcu_work_rcufn(struct rcu_head *rcu) | |||
| 1619 | * | 1619 | * |
| 1620 | * Return: %false if @rwork was already pending, %true otherwise. Note | 1620 | * Return: %false if @rwork was already pending, %true otherwise. Note |
| 1621 | * that a full RCU grace period is guaranteed only after a %true return. | 1621 | * that a full RCU grace period is guaranteed only after a %true return. |
| 1622 | * While @rwork is guarnateed to be executed after a %false return, the | 1622 | * While @rwork is guaranteed to be executed after a %false return, the |
| 1623 | * execution may happen before a full RCU grace period has passed. | 1623 | * execution may happen before a full RCU grace period has passed. |
| 1624 | */ | 1624 | */ |
| 1625 | bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork) | 1625 | bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork) |
