Skip to content

Commit

Permalink
async_tx: list_for_each_entry_rcu() cleanup
Browse files Browse the repository at this point in the history
In the rcu update side, don't use list_for_each_entry_rcu().

Signed-off-by: Li Zefan <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
  • Loading branch information
Li Zefan authored and djbw committed Jul 18, 2008
1 parent 3bfb1d2 commit 20fc190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/async_tx/async_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ dma_channel_add_remove(struct dma_client *client,
case DMA_RESOURCE_REMOVED:
found = 0;
spin_lock_irqsave(&async_tx_lock, flags);
list_for_each_entry_rcu(ref, &async_tx_master_list, node)
list_for_each_entry(ref, &async_tx_master_list, node)
if (ref->chan == chan) {
/* permit backing devices to go away */
dma_chan_put(ref->chan);
Expand Down

0 comments on commit 20fc190

Please sign in to comment.