diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2017-07-07 18:29:09 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2017-07-10 09:57:24 -0500 |
commit | 1e120ffead85d08d41160065e0d8cf86400b1c9e (patch) | |
tree | fe44c8769b0005c8c3ea3a14ca90ea56dd4a5d2c /crypto | |
parent | 99c62e70aaa9a3ad843ab1a58129104f83f366db (diff) |
nbd/server: nbd_negotiate: return 1 on NBD_OPT_ABORT
Separate the case when a client sends NBD_OPT_ABORT from all other
errors. It will be needed for the following patch, where errors will be
reported.
This particular case is not actually an error - it honestly follows the
NBD protocol. Therefore it should not be reported like an error.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170707152918.23086-2-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions