« Previous | Next » 

Revision 185b4338

ID185b43386ad999c80bdc58e41b87f05e5b3e8463

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences