Revert "workqueue: Make queue_rcu_work() use call_rcu_flush()"
This reverts commit d9f15863ae
.
This commit is contained in:
parent
1fe9347f4c
commit
1b696e9b5d
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))) {
|
if (!test_and_set_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work))) {
|
||||||
rwork->wq = wq;
|
rwork->wq = wq;
|
||||||
call_rcu_flush(&rwork->rcu, rcu_work_rcufn);
|
call_rcu(&rwork->rcu, rcu_work_rcufn);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue