]> git.ipfire.org Git - thirdparty/qemu.git/commit
9pfs: fix name_to_path assertion in v9fs_complete_rename()
authorJan Dakinevich <jan.dakinevich@gmail.com>
Wed, 20 Sep 2017 06:48:52 +0000 (08:48 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 22 Sep 2017 23:23:11 +0000 (18:23 -0500)
commitd13a0bde83d216ec07d2fe6e54fe1bab34643db1
tree33e858b5e504972d36ba9c54c367fdb2adfeb04f
parente90997dc8f8272378b259a0080a0062597e72c10
9pfs: fix name_to_path assertion in v9fs_complete_rename()

The third parameter of v9fs_co_name_to_path() must not contain `/'
character.

The issue is most likely related to 9p2000.u protocol only.

Signed-off-by: Jan Dakinevich <jan.dakinevich@gmail.com>
[groug, regression caused by commit f57f5878578a # 2.10]
Signed-off-by: Greg Kurz <groug@kaod.org>
(cherry picked from commit 4d8bc7334b06ef01a21cad3d1eb8dc183037a06b)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/9pfs/9p.c