diff options
author | John W. Linville <[email protected]> | 2016-10-24 15:13:25 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-10-24 13:18:14 -0600 |
commit | 423221d1745b53656db896bd34646d09d620c759 (patch) | |
tree | 69d4f88319c80ea44db52ad5312e2fde14e6106d /tools/perf/scripts/python/compaction-times.py | |
parent | b4a1278c78bc939b3e29c3ad21ceaa636b0ca8c8 (diff) |
nbd: fix incorrect unlock of nbd->sock_lock in sock_shutdown
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 <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Markus Pargmann <[email protected]>
Fixes: 0eadf37afc250 ("nbd: allow block mq to deal with timeouts")
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions