diff options
author | Josef Bacik <jbacik@fb.com> | 2018-05-16 14:51:20 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-16 12:54:10 -0600 |
commit | 96d97e17828f97b321bd364c818819121f855650 (patch) | |
tree | f8259f492b7a5bbf24fa3e8c4138a09a8803f8d3 /drivers/block/swim.c | |
parent | 9e2b19675d1338d2a38e99194756f2db44a081df (diff) |
nbd: clear_sock on netlink disconnect
This is what the ioctl based nbd disconnect does as well. Without this
the device will just sit there and wait for the connection to go away
(or IO to occur) before the device gets torn down. Instead clear
everything up on our end so the configuration goes away as quickly as
possible.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/swim.c')
0 files changed, 0 insertions, 0 deletions