diff options
author | Maciej Sosnowski <[email protected]> | 2012-05-23 17:27:07 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2013-01-07 22:05:14 -0800 |
commit | c419fcfd071cf34ba00f9f65282583772d2655e7 (patch) | |
tree | 76c2586c43b85b63faacd3686220ca9fae85cde5 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 6decffd5f6afaf55722d9c85b8739621dca63d0f (diff) |
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]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions