Home
last modified time | relevance | path

Searched hist:"185 b4338" (Results 1 – 2 of 2) sorted by relevance

/qemu/
H A Dqemu-nbd.c185b4338 Mon Mar 05 07:56:10 GMT 2012 Paolo Bonzini <pbonzini@redhat.com> nbd: consistently return negative errno values

In the next patch we need to look at the return code of nbd_wr_sync.
To avoid percolating the socket_error() ugliness all around, let's
handle errors by returning negative errno values.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/qemu/block/
H A Dnbd.c185b4338 Mon Mar 05 07:56:10 GMT 2012 Paolo Bonzini <pbonzini@redhat.com> nbd: consistently return negative errno values

In the next patch we need to look at the return code of nbd_wr_sync.
To avoid percolating the socket_error() ugliness all around, let's
handle errors by returning negative errno values.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>