diff options
author | Josef Bacik <[email protected]> | 2016-09-08 12:33:38 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-09-08 14:01:34 -0600 |
commit | c261189862c6f65117eb3b1748622a08ef49c262 (patch) | |
tree | 17af2c3ead2f500d34264bf78551b9c520efa472 /lib/mpi/mpiutil.c | |
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions