OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f8c1f
)
[SCSI] mptfusion: unlock on error in mpt_config()
author
Dan Carpenter
<error27@gmail.com>
Sat, 27 Aug 2011 09:59:30 +0000
(12:59 +0300)
committer
James Bottomley
<JBottomley@Parallels.com>
Tue, 22 May 2012 10:50:54 +0000
(11:50 +0100)
We introduced a new return here and forgot to unlock the mutex.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: "Nandigama, Nagalakshmi" <Nagalakshmi.Nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/message/fusion/mptbase.c
patch
|
blob
|
history
diff --git
a/drivers/message/fusion/mptbase.c
b/drivers/message/fusion/mptbase.c
index
a5c591f
..
444143e
100644
(file)
--- a/
drivers/message/fusion/mptbase.c
+++ b/
drivers/message/fusion/mptbase.c
@@
-6483,6
+6483,7
@@
mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg)
printk(MYIOC_s_INFO_FMT "%s: host reset in"
" progress mpt_config timed out.!!\n",
__func__, ioc->name);
+ mutex_unlock(&ioc->mptbase_cmds.mutex);
return -EFAULT;
}
spin_unlock_irqrestore(&ioc->taskmgmt_lock, flags);