Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 829f46af authored by Dan Carpenter's avatar Dan Carpenter Committed by Linus Torvalds
Browse files

cciss: unlock on error path



We take the spin_lock again in fail_all_cmds() so we need to unlock here.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarSteve Cameron <scameron@beardog.cce.hp.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c6eb69ac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
				}