From: Li Zefan Date: Fri, 18 Jul 2008 00:59:47 +0000 (-0700) Subject: async_tx: list_for_each_entry_rcu() cleanup X-Git-Tag: v2.6.27-rc1~852^2~11 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=20fc190b0ef58bf8b3b0bff9de122083956f82ec;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Dan Williams --- diff --git a/crypto/async_tx/async_tx.c b/crypto/async_tx/async_tx.c index c6e772fc5cc..9325c61208a 100644 --- a/crypto/async_tx/async_tx.c +++ b/crypto/async_tx/async_tx.c @@ -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);