Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dca: check against empty dca_domains list before unregister provider
When providers get blocked unregister_dca_providers() is called ending up with dca_providers and dca_domain lists emptied. Dca should be prevented from trying to unregister any provider if dca_domain list is found empty. Cc: <[email protected]> Reported-by: Jiang Liu <[email protected]> Tested-by: Gaohuai Han <[email protected]> Signed-off-by: Maciej Sosnowski <[email protected]> Signed-off-by: Dan Williams <[email protected]>
- Loading branch information