summaryrefslogtreecommitdiffstats
path: root/fsdev
diff options
context:
space:
mode:
authorAntonios Motakis2019-10-10 11:36:04 +0200
committerGreg Kurz2019-10-10 11:36:04 +0200
commit870328335286385b5a78ba7d925b46dc5ba74d7f (patch)
tree5108ee360e884373fa8afbbb838820ad2b8f0f29 /fsdev
parentMerge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into ... (diff)
downloadqemu-870328335286385b5a78ba7d925b46dc5ba74d7f.tar.gz
qemu-870328335286385b5a78ba7d925b46dc5ba74d7f.tar.xz
qemu-870328335286385b5a78ba7d925b46dc5ba74d7f.zip
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>
Diffstat (limited to 'fsdev')
-rw-r--r--fsdev/9p-marshal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fsdev/9p-marshal.h b/fsdev/9p-marshal.h
index c8823d878f..8f3babb60a 100644
--- a/fsdev/9p-marshal.h
+++ b/fsdev/9p-marshal.h
@@ -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