aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptsas.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-06-21 17:59:01 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-22 09:54:14 -0400
commit129dd98194747a3b8ac1ff876d8d1f2440660d01 (patch)
tree5e035923f6a556d9176fdd51f425b119f585bacf /drivers/message/fusion/mptsas.c
parent3c559ea8fd003962d9a28c64b2dd5c6d83ca6edb (diff)
fusion: mptsas, fix lock imbalance
Fix two typos in mptsas_not_responding_devices. It was mutex_lock instead of unlock. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Acked-by: "Desai, Kashyap" <Kashyap.Desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/message/fusion/mptsas.c')
-rw-r--r--drivers/message/fusion/mptsas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index 20e0b447e8e8..55ff25244af4 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -3518,7 +3518,7 @@ retry_page:
3518 } else 3518 } else
3519 mptsas_volume_delete(ioc, sas_info->fw.id); 3519 mptsas_volume_delete(ioc, sas_info->fw.id);
3520 } 3520 }
3521 mutex_lock(&ioc->sas_device_info_mutex); 3521 mutex_unlock(&ioc->sas_device_info_mutex);
3522 3522
3523 /* expanders */ 3523 /* expanders */
3524 mutex_lock(&ioc->sas_topology_mutex); 3524 mutex_lock(&ioc->sas_topology_mutex);
@@ -3549,7 +3549,7 @@ retry_page:
3549 goto redo_expander_scan; 3549 goto redo_expander_scan;
3550 } 3550 }
3551 } 3551 }
3552 mutex_lock(&ioc->sas_topology_mutex); 3552 mutex_unlock(&ioc->sas_topology_mutex);
3553} 3553}
3554 3554
3555/** 3555/**