[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/6] tests/9p: fix Rreaddir response name
From: |
Christian Schoenebeck |
Subject: |
[PATCH 2/6] tests/9p: fix Rreaddir response name |
Date: |
Sun, 24 Nov 2024 14:34:31 +0100 |
All 9p response types are prefixed with an "R", therefore fix
"READDIR" -> "RREADDIR" in function rmessage_name().
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
---
tests/qtest/libqos/virtio-9p-client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qtest/libqos/virtio-9p-client.c
b/tests/qtest/libqos/virtio-9p-client.c
index b8adc8d4b9..c61632fcd3 100644
--- a/tests/qtest/libqos/virtio-9p-client.c
+++ b/tests/qtest/libqos/virtio-9p-client.c
@@ -238,7 +238,7 @@ static const char *rmessage_name(uint8_t id)
id == P9_RLINK ? "RLINK" :
id == P9_RUNLINKAT ? "RUNLINKAT" :
id == P9_RFLUSH ? "RFLUSH" :
- id == P9_RREADDIR ? "READDIR" :
+ id == P9_RREADDIR ? "RREADDIR" :
"<unknown>";
}
--
2.39.5
- [PATCH 1/6] tests/9p: add 'use-after-unlink' test, (continued)
- [PATCH 1/6] tests/9p: add 'use-after-unlink' test, Christian Schoenebeck, 2024/11/24
- [PATCH 4/6] 9pfs: remove obsolete comment in v9fs_getattr(), Christian Schoenebeck, 2024/11/24
- [PATCH 5/6] 9pfs: fix 'Tgetattr' after unlink, Christian Schoenebeck, 2024/11/24
- [PATCH 2/6] tests/9p: fix Rreaddir response name,
Christian Schoenebeck <=
- [PATCH 6/6] tests/9p: also check 'Tgetattr' in 'use-after-unlink' test, Christian Schoenebeck, 2024/11/24
- Re: [PATCH 0/6] 9pfs: fix fstat() after unlink() (with a Linux guest), Greg Kurz, 2024/11/25
- Re: [PATCH 0/6] 9pfs: fix fstat() after unlink() (with a Linux guest), Christian Schoenebeck, 2024/11/27