diff options
| author | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2021-06-04 19:57:21 +0200 |
|---|---|---|
| committer | Christian Schoenebeck <qemu_oss@crudebyte.com> | 2021-07-05 13:03:16 +0200 |
| commit | f22cad42281621f86a0756a7cff382f90a33ec8c (patch) | |
| tree | 038f46fbad389668d64174d6de7f9b4fef73651e /scripts/qapi/commands.py | |
| parent | 1d0fc0d0eef057dc02055f531907188d19a83cb2 (diff) | |
| download | focaccia-qemu-f22cad42281621f86a0756a7cff382f90a33ec8c.tar.gz focaccia-qemu-f22cad42281621f86a0756a7cff382f90a33ec8c.zip | |
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 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions