Commit 20fc190b0ef58bf8b3b0bff9de122083956f82ec
Committed by
Dan Williams
1 parent
3bfb1d20b5
Exists in
master
and in
4 other branches
async_tx: list_for_each_entry_rcu() cleanup
In the rcu update side, don't use list_for_each_entry_rcu(). Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
crypto/async_tx/async_tx.c
... | ... | @@ -294,7 +294,7 @@ |
294 | 294 | case DMA_RESOURCE_REMOVED: |
295 | 295 | found = 0; |
296 | 296 | spin_lock_irqsave(&async_tx_lock, flags); |
297 | - list_for_each_entry_rcu(ref, &async_tx_master_list, node) | |
297 | + list_for_each_entry(ref, &async_tx_master_list, node) | |
298 | 298 | if (ref->chan == chan) { |
299 | 299 | /* permit backing devices to go away */ |
300 | 300 | dma_chan_put(ref->chan); |