]> 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)
commita35d53bbb83faed72dc52778561b2e7159da4bb7
tree0e7520a5416cf14e7cceb2a6a9468b3c020b9f98
parent7702ba93d2160c3c439c7e40bc6cb49b1e0916e0
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