Re: [PATCH] nbd: fix incorrect unlock of nbd->sock_lock in sock_shutdown

From: Jens Axboe
Date: Mon Oct 24 2016 - 15:18:42 EST


On 10/24/2016 01:13 PM, John W. Linville wrote:
Commit 0eadf37afc250 ("nbd: allow block mq to deal with timeouts")
changed normal usage of nbd->sock_lock to use spin_lock/spin_unlock
rather than the *_irq variants, but it missed this unlock in an
error path.

Thanks John, applied.

--
Jens Axboe