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

2016-10-24 Thread Jens Axboe
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

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

2016-10-24 Thread John W. Linville
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. Found by Coverity, CID 1373871. Signed-off-by: John W. Linville Cc: Josef Bacik Cc: