hw/9pfs: Update the fidp path before opendir
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Thu, 26 May 2011 09:11:15 +0000 (14:41 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 9 Sep 2011 09:15:53 +0000 (14:45 +0530)
commit407fee0f026faf3296f08231e862799fbc2740c5
tree25bef544c8682529960f32ccc376079b8c9755eb
parent07ff2c4475df77e38a31d50ee7f3932631806c15
hw/9pfs: Update the fidp path before opendir

We need to update the fidp path before opendir. Since we don't
use the fid returned by mkdir, earlier code should not have
much issue. We do a double v9fs_string_copy here. The later patch
cleanup the entire function.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
hw/9pfs/virtio-9p.c