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:
parent
47025a0193
commit
dad3946ec6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user