nbd: Simplify trace of client flags in negotiation
commit621c4f4eabff26493494909fc91aeac7e8205438
authorEric Blake <eblake@redhat.com>
Fri, 7 Jul 2017 20:30:44 +0000 (7 15:30 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Jul 2017 10:04:42 +0000 (14 12:04 +0200)
tree65fe38897e383d19305ea936ade4227ec8ff3d33
parent3736cc5be31f0399999e37d8b28ca9a3ed0b4ccb
nbd: Simplify trace of client flags in negotiation

Simplify the tracing of client flags in the server, and return -EINVAL
instead of -EIO if we successfully read but don't like those flags.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20170707203049.534-5-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
nbd/server.c
nbd/trace-events