hw/9pfs: fix error handing in local_ioc_getversion()
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Tue, 28 Jan 2014 15:08:24 +0000 (17:08 +0200)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 2 Feb 2014 16:38:41 +0000 (22:08 +0530)
commit0e5fc994d24af4f4f9a1368bf9c2e730c120c549
tree5adb446bb5a64d7af440c01247725a8be299ba9b
parent2f61120c10da9128357510debc8e66880cd2bfdc
hw/9pfs: fix error handing in local_ioc_getversion()

v9fs_co_st_gen() expects to see error code in errno, not in return code.

Let's fix this.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
hw/9pfs/virtio-9p-local.c