Skip to contentSkip to conversation

nbd: remove stray IRQ enable

PATCH New Dan Carpenter 1 participant 1 message Oct 12, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 nbd: remove stray IRQ enable

We recently changed from spin_lock_irq() to just spin_lock(). This return path was overlooked and needs to be updated as well.

Fixes 0eadf37afc25 ('nbd: allow block mq to deal with timeouts')
drivers/block/nbd.c +1 -1
index 8c2599d..ad62964 100644
@@ -164,7 +164,7 @@ static void sock_shutdown(struct nbd_device *nbd)
 	spin_lock(&nbd->sock_lock);
 
 	if (!nbd->sock) {
-		spin_unlock_irq(&nbd->sock_lock);
+		spin_unlock(&nbd->sock_lock);
 		return;
 	}