mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fusion: mptsas, fix lock imbalance
@ 2009-06-21 21:59 Jiri Slaby
  2009-06-22  5:22 ` Desai, Kashyap
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby @ 2009-06-21 21:59 UTC (permalink / raw)
  To: Eric.Moore
  Cc: DL-MPTFusionLinux, linux-scsi, support, linux-kernel, Jiri Slaby

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

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
 drivers/message/fusion/mptsas.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index 20e0b44..55ff252 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -3518,7 +3518,7 @@ retry_page:
 		} else
 			mptsas_volume_delete(ioc, sas_info->fw.id);
 	}
-	mutex_lock(&ioc->sas_device_info_mutex);
+	mutex_unlock(&ioc->sas_device_info_mutex);
 
 	/* expanders */
 	mutex_lock(&ioc->sas_topology_mutex);
@@ -3549,7 +3549,7 @@ retry_page:
 			goto redo_expander_scan;
 		}
 	}
-	mutex_lock(&ioc->sas_topology_mutex);
+	mutex_unlock(&ioc->sas_topology_mutex);
 }
 
 /**
-- 
1.6.3.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-22  5:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-21 21:59 [PATCH] fusion: mptsas, fix lock imbalance Jiri Slaby
2009-06-22  5:22 ` Desai, Kashyap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®