[virtio-9p] Stop renaming files with similar name!
authorMalahal Naineni <malahal@us.ibm.com>
Wed, 1 Jun 2011 07:05:11 +0000 (12:35 +0530)
committerVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Wed, 1 Jun 2011 17:23:33 +0000 (10:23 -0700)
commit1d7a457b65a4ee772719fb253aa613cb8cde8e8b
tree5a4a319004026198c64614052ae1977c23e96cbe
parent05df9676b792a0cbe341b73578555db5b6fcdde6
[virtio-9p] Stop renaming files with similar name!

v9fs_complete_rename() mistakenly renames files with similar name
as we don't check if the matched name is really an offspring.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
hw/9pfs/virtio-9p.c