summaryrefslogtreecommitdiffstats
path: root/drivers/block/smart1,2.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2016-09-08 21:33:38 +0200
committerJens Axboe <axboe@fb.com>2016-09-08 22:01:34 +0200
commitc261189862c6f65117eb3b1748622a08ef49c262 (patch)
tree17af2c3ead2f500d34264bf78551b9c520efa472 /drivers/block/smart1,2.h
parentnbd: convert to blkmq (diff)
downloadlinux-c261189862c6f65117eb3b1748622a08ef49c262.tar.xz
linux-c261189862c6f65117eb3b1748622a08ef49c262.zip
nbd: don't shutdown sock with irq's disabled
We hit a warning when shutting down the nbd connection because we have irq's disabled. We don't really need to do the shutdown under the lock, just clear the nbd->sock. So do the shutdown outside of the irq. This gets rid of the warning. Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/smart1,2.h')
0 files changed, 0 insertions, 0 deletions