nbd: Simplify conditional
commit213cfdf05fdefb3950742c380d9d448705fdfbb4
authorEric Blake <eblake@redhat.com>
Wed, 29 May 2019 16:34:51 +0000 (29 11:34 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 29 May 2019 16:34:51 +0000 (29 11:34 -0500)
treee4e2ce1bd73021a3d1cff03e6e370c5205b82c7a
parentcec6d30348deb582f664ca4d6e748f40dadd4f27
nbd: Simplify conditional

Move more logic into nbd_reply() to simplify all callers.

Signed-off-by: Eric Blake <eblake@redhat.com>
plugins/nbd/nbd.c