mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
cciss: unlock on error path
We take the spin_lock again in fail_all_cmds() so we need to unlock here. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
39c01b219f
commit
61917bdaaf
1 changed files with 1 additions and 0 deletions
|
|
@ -3341,6 +3341,7 @@ static irqreturn_t do_cciss_intr(int irq, void *dev_id)
|
|||
printk(KERN_WARNING
|
||||
"cciss: controller cciss%d failed, stopping.\n",
|
||||
h->ctlr);
|
||||
spin_unlock_irqrestore(CCISS_LOCK(h->ctlr), flags);
|
||||
fail_all_cmds(h->ctlr);
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue