nbd: allow multiple disconnects to be sent
authorJosef Bacik <jbacik@fb.com>
Fri, 21 Jul 2017 14:48:13 +0000 (10:48 -0400)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Jul 2017 17:12:29 +0000 (11:12 -0600)
commit2e13456fb3d3e5f462dc1e59efc04eb62df35566
tree0e7520a5416cf14e7cceb2a6a9468b3c020b9f98
parent82abbea734d659b4218ad06734b4927b43261985
nbd: allow multiple disconnects to be sent

There's no reason to limit ourselves to one disconnect message per
socket.  Sometimes networks do strange things, might as well let
sysadmins hit the panic button as much as they want.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c