nbd: Fix trace message for disconnect

NBD_CMD_DISC is a disconnect request, not a data discard request.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170811015749.20365-1-eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Eric Blake 2017-08-10 20:57:48 -05:00
parent 47025a0193
commit dad3946ec6

View File

@ -182,7 +182,7 @@ const char *nbd_cmd_lookup(uint16_t cmd)
case NBD_CMD_WRITE:
return "write";
case NBD_CMD_DISC:
return "discard";
return "disconnect";
case NBD_CMD_FLUSH:
return "flush";
case NBD_CMD_TRIM: