Skip to content
Snippets Groups Projects
Commit 129dd981 authored by Jiri Slaby's avatar Jiri Slaby Committed by James Bottomley
Browse files

fusion: mptsas, fix lock imbalance


Fix two typos in mptsas_not_responding_devices. It was mutex_lock instead
of unlock.

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Acked-by: default avatar"Desai, Kashyap" <Kashyap.Desai@lsi.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 3c559ea8
No related branches found
No related tags found
No related merge requests found
...@@ -3518,7 +3518,7 @@ retry_page: ...@@ -3518,7 +3518,7 @@ retry_page:
} else } else
mptsas_volume_delete(ioc, sas_info->fw.id); mptsas_volume_delete(ioc, sas_info->fw.id);
} }
mutex_lock(&ioc->sas_device_info_mutex); mutex_unlock(&ioc->sas_device_info_mutex);
/* expanders */ /* expanders */
mutex_lock(&ioc->sas_topology_mutex); mutex_lock(&ioc->sas_topology_mutex);
...@@ -3549,7 +3549,7 @@ retry_page: ...@@ -3549,7 +3549,7 @@ retry_page:
goto redo_expander_scan; goto redo_expander_scan;
} }
} }
mutex_lock(&ioc->sas_topology_mutex); mutex_unlock(&ioc->sas_topology_mutex);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment