nbd: Pass return value from nbd_handle_list()
authorMax Reitz <mreitz@redhat.com>
Wed, 25 Feb 2015 18:08:19 +0000 (13:08 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Mar 2015 11:05:42 +0000 (12:05 +0100)
commit892f5a5270f9f3cae4f384dffbf70679fa2a57b6
tree91dd7112e83872008f6a90158d80618fd3a6ce9e
parent2b1f13b996c3a278ed3d4bf4ce0893f3506fb7cc
nbd: Pass return value from nbd_handle_list()

While it does not make a difference in practice, nbd_receive_options()
generally returns -errno, so it should do that here as well; and the
easiest way to achieve this is by passing on the value returned by
nbd_handle_list().

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <1424887718-10800-7-git-send-email-mreitz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
nbd.c