[SCSI] megaraid_sas: release lock on error path
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 16 Apr 2013 07:44:19 +0000 (10:44 +0300)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 2 May 2013 19:08:46 +0000 (12:08 -0700)
commitc64e483ea0a1d7483a5c1ac42ccdf7788eb3ce90
treeacaff24170b70ae27f86d62926f73a3c3cc00224
parent883467871c60125765e0674199ef34a9b8d203bd
[SCSI] megaraid_sas: release lock on error path

We should unlock here before returning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_base.c