dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Jiri Slaby 2009-06-21 23:59:01 +02:00 committed by James Bottomley
parent 3c559ea8fd
commit 129dd98194
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
/**