]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f34ce925af2e679a75e69a1fe26281a22a2a793
tree0e7520a5416cf14e7cceb2a6a9468b3c020b9f98
parent6776a50ac6c7d649b435e7a5311e7862cc6e46bf
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