9p: v9fs_path_copy() readability
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 19 Feb 2018 17:27:15 +0000 (18:27 +0100)
committerGreg Kurz <groug@kaod.org>
Mon, 19 Feb 2018 17:27:15 +0000 (18:27 +0100)
commite446a1eb5e358e47193a03a7a5f3ce9b8b5e36ea
tree385e9d5d7d2658d3489719669aa5c4b6e6137f08
parent299a2e6fac397be9b82c66583d53d1daaa3ffe6c
9p: v9fs_path_copy() readability

lhs/rhs doesn't tell much about how argument are handled, dst/src is
and const arguments is clearer in my mind. Use g_memdup() while at it.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
hw/9pfs/9p.c
hw/9pfs/9p.h