On 2022-07-18 00:34, Christoph Hellwig wrote: > Just do a simple list_for_each_entry_safe on all_mddevs, and only grab a > reference when we drop the lock and delete the now unused for_each_mddev > macro. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Reviewed-by: Logan Gunthorpe <logang@xxxxxxxxxxxx> Logan