mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
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:
parent
98b2e3c9ab
commit
8703283352
3 changed files with 13 additions and 13 deletions
|
@ -744,9 +744,9 @@ static int donttouch_stat(V9fsStat *stat)
|
|||
{
|
||||
if (stat->type == -1 &&
|
||||
stat->dev == -1 &&
|
||||
stat->qid.type == -1 &&
|
||||
stat->qid.version == -1 &&
|
||||
stat->qid.path == -1 &&
|
||||
stat->qid.type == 0xff &&
|
||||
stat->qid.version == (uint32_t) -1 &&
|
||||
stat->qid.path == (uint64_t) -1 &&
|
||||
stat->mode == -1 &&
|
||||
stat->atime == -1 &&
|
||||
stat->mtime == -1 &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue