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') Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 8c2599d..ad62964 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -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; } ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Nbd-general mailing list Nbd-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nbd-general