Skip to contentSkip to conversation

async_tx: list_for_each_entry_rcu() cleanup

PATCH Applied Li Zefan 2 participants 2 messages Jul 17, 2008 – Jul 18, 2008

Subsystems (2)
lore
Share & tools
lore

Li Zefan

author
#0 lore raw

PATCH 1/1 async_tx: list_for_each_entry_rcu() cleanup

In the rcu update side, don't use list_for_each_entry_rcu().

---
 crypto/async_tx/async_tx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
crypto/async_tx/async_tx.c +1 -1
index 095c798..17834e5 100644
@@ -295,7 +295,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);
Signature · 1 line
1.5.4.rc3