提交 20fc190b 编写于 作者: L Li Zefan 提交者: Dan Williams

async_tx: list_for_each_entry_rcu() cleanup

In the rcu update side, don't use list_for_each_entry_rcu().
Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: NDan Williams <dan.j.williams@intel.com>
上级 3bfb1d20
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册