Try to make the code a bit less ugly.  First by moving
errno = -retval to a common place, and second by simplifying
common place a lot.  What's left is v9fs_receive_response().

V3: merge several small patches into larger ones,
    drop trivial stuff

Michael Tokarev (3):
  9pfs-proxy: simplify error handling
  fsdev: introduce v9fs_vmarshal() and v9fs_vunmarshal()
  9pfs-proxy: remove one half of redundrand code

 fsdev/virtio-9p-marshal.c |  38 +++--
 fsdev/virtio-9p-marshal.h |   6 +
 hw/9pfs/virtio-9p-proxy.c | 405 +++++-----------------------------------------
 3 files changed, 77 insertions(+), 372 deletions(-)

-- 
2.1.4


Reply via email to