commit | c261189862c6f65117eb3b1748622a08ef49c262 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Thu Sep 08 12:33:38 2016 -0700 |
committer | Jens Axboe <axboe@fb.com> | Thu Sep 08 14:01:34 2016 -0600 |
tree | 17af2c3ead2f500d34264bf78551b9c520efa472 | |
parent | fd8383fd88a2fd842a9431df5ed353bd7129eecc [diff] |
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>