9p: unsigned type for type, version, path

There is no need for signedness on these QID fields for 9p.

Signed-off-by: Antonios Motakis <antonios.motakis@huawei.com>
[CS: - Also make QID type unsigned.
     - Adjust donttouch_stat() to new types.
     - Adjust trace-events to new types. ]
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
Antonios Motakis 2019-10-10 11:36:04 +02:00 committed by Greg Kurz
parent 98b2e3c9ab
commit 8703283352
3 changed files with 13 additions and 13 deletions

View file

@ -9,9 +9,9 @@ typedef struct V9fsString
typedef struct V9fsQID
{
int8_t type;
int32_t version;
int64_t path;
uint8_t type;
uint32_t version;
uint64_t path;
} V9fsQID;
typedef struct V9fsStat