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

Commit 61917bda authored by Dan Carpenter's avatar Dan Carpenter Committed by Jens Axboe
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>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 39c01b21
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;
				}