]> www.infradead.org Git - users/dwmw2/qemu.git/commit
9pfs: remove side-effects in local_init()
authorGreg Kurz <groug@kaod.org>
Sun, 26 Feb 2017 22:41:48 +0000 (23:41 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 16 Mar 2017 17:06:49 +0000 (12:06 -0500)
commite103f9e7b431ae5b0f6d28262ae0646f37c3645f
tree770cebe59667cd9fc3253583e014078877332983
parent2c4f0f6c11d5ab60b1483b4bf4b173c1dfe1e0cd
9pfs: remove side-effects in local_init()

If this function fails, it should not modify *ctx.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 00c90bd1c2ff6aabb9ca948a254ba044a403e399)
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/9pfs/9p-local.c