Revert "workqueue: Make queue_rcu_work() use call_rcu_flush()"
This reverts commit d0dc26b405
.
This commit is contained in:
parent
7fcc5fcd13
commit
9f899d45ad
1 changed files with 1 additions and 1 deletions
|
@ -1796,7 +1796,7 @@ bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork)
|
|||
|
||||
if (!test_and_set_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work))) {
|
||||
rwork->wq = wq;
|
||||
call_rcu_flush(&rwork->rcu, rcu_work_rcufn);
|
||||
call_rcu(&rwork->rcu, rcu_work_rcufn);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue