aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Schoenebeck <qemu_oss@crudebyte.com>2021-06-04 19:57:21 +0200
committerChristian Schoenebeck <qemu_oss@crudebyte.com>2021-07-05 13:03:16 +0200
commitf22cad42281621f86a0756a7cff382f90a33ec8c (patch)
tree038f46fbad389668d64174d6de7f9b4fef73651e /tests
parent1d0fc0d0eef057dc02055f531907188d19a83cb2 (diff)
downloadqemu-f22cad42281621f86a0756a7cff382f90a33ec8c.zip
qemu-f22cad42281621f86a0756a7cff382f90a33ec8c.tar.gz
qemu-f22cad42281621f86a0756a7cff382f90a33ec8c.tar.bz2
9pfs: replace not_same_qid() by same_stat_id()
As we are actually only comparing the filesystem ID (i.e. device number and inode number pair) let's use the POSIX stat buffer instead of QIDs, because resolving QIDs requires to be done on 9p server's main thread only as it might mutate the server state if inode remapping is enabled. Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Reviewed-by: Greg Kurz <groug@kaod.org> Message-Id: <26aa465ff9cc9c07e053331554a02fdae3994417.1622821729.git.qemu_oss@crudebyte.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions