« Previous | Next » 

Revision 185b4338


Added by Paolo Bonzini almost 8 years ago

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 <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences