block/nbd-client: drop max_block restriction from block_status
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Wed, 1 Apr 2020 15:01:07 +0000 (18:01 +0300)
committerEric Blake <eblake@redhat.com>
Mon, 4 May 2020 20:13:14 +0000 (15:13 -0500)
commit6bf792b4643bd88153b2d473f735f93638cac521
tree64d0f1a72cbde889aa345eb2f2bdf3837ae50d4c
parente5ac52d8d405f46843465128410a8f1362458eb6
block/nbd-client: drop max_block restriction from block_status

The NBD spec was updated (see nbd.git commit 9f30fedb) so that
max_block doesn't relate to NBD_CMD_BLOCK_STATUS. So, drop the
restriction.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200401150112.9557-2-vsementsov@virtuozzo.com>
[eblake: tweak commit message to call out NBD commit]
Signed-off-by: Eric Blake <eblake@redhat.com>
block/nbd.c