diff options
Diffstat (limited to 'nbd')
-rw-r--r-- | nbd/client.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/nbd/client.c b/nbd/client.c index 4e15fc484d..eea236ca06 100644 --- a/nbd/client.c +++ b/nbd/client.c @@ -996,15 +996,9 @@ int nbd_receive_reply(QIOChannel *ioc, NBDReply *reply, Error **errp) if (ret < 0) { break; } - trace_nbd_receive_simple_reply(reply->simple.error, nbd_err_lookup(reply->simple.error), reply->handle); - if (reply->simple.error == NBD_ESHUTDOWN) { - /* This works even on mingw which lacks a native ESHUTDOWN */ - error_setg(errp, "server shutting down"); - return -EINVAL; - } break; case NBD_STRUCTURED_REPLY_MAGIC: ret = nbd_receive_structured_reply_chunk(ioc, &reply->structured, errp); |