Message ID | e183da80d390cfd7d55bdbce92f0ff6e3e5cdced.1732465720.git.qemu_oss@crudebyte.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | 9pfs: fix fstat() after unlink() (with a Linux guest) | expand |
On Sunday, November 24, 2024 3:49:55 PM CET Christian Schoenebeck wrote: > 'Tgetattr' 9p request and its 'Rgetattr' response types are already used > by test client, however this response type is yet missing in function > rmessage_name(), so add it. > > Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com> > --- Fixes: a6821b828404 ('tests/9pfs: compare QIDs in fs_walk_none() test') > tests/qtest/libqos/virtio-9p-client.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/qtest/libqos/virtio-9p-client.c b/tests/qtest/libqos/virtio-9p-client.c > index c61632fcd3..98b77db51d 100644 > --- a/tests/qtest/libqos/virtio-9p-client.c > +++ b/tests/qtest/libqos/virtio-9p-client.c > @@ -235,6 +235,7 @@ static const char *rmessage_name(uint8_t id) > id == P9_RMKDIR ? "RMKDIR" : > id == P9_RLCREATE ? "RLCREATE" : > id == P9_RSYMLINK ? "RSYMLINK" : > + id == P9_RGETATTR ? "RGETATTR" : > id == P9_RLINK ? "RLINK" : > id == P9_RUNLINKAT ? "RUNLINKAT" : > id == P9_RFLUSH ? "RFLUSH" : >
On Sun, 24 Nov 2024 15:49:55 +0100 Christian Schoenebeck <qemu_oss@crudebyte.com> wrote: > 'Tgetattr' 9p request and its 'Rgetattr' response types are already used > by test client, however this response type is yet missing in function > rmessage_name(), so add it. > > Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com> > --- Reviewed-by: Greg Kurz <groug@kaod.org> > tests/qtest/libqos/virtio-9p-client.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/qtest/libqos/virtio-9p-client.c b/tests/qtest/libqos/virtio-9p-client.c > index c61632fcd3..98b77db51d 100644 > --- a/tests/qtest/libqos/virtio-9p-client.c > +++ b/tests/qtest/libqos/virtio-9p-client.c > @@ -235,6 +235,7 @@ static const char *rmessage_name(uint8_t id) > id == P9_RMKDIR ? "RMKDIR" : > id == P9_RLCREATE ? "RLCREATE" : > id == P9_RSYMLINK ? "RSYMLINK" : > + id == P9_RGETATTR ? "RGETATTR" : > id == P9_RLINK ? "RLINK" : > id == P9_RUNLINKAT ? "RUNLINKAT" : > id == P9_RFLUSH ? "RFLUSH" :
diff --git a/tests/qtest/libqos/virtio-9p-client.c b/tests/qtest/libqos/virtio-9p-client.c index c61632fcd3..98b77db51d 100644 --- a/tests/qtest/libqos/virtio-9p-client.c +++ b/tests/qtest/libqos/virtio-9p-client.c @@ -235,6 +235,7 @@ static const char *rmessage_name(uint8_t id) id == P9_RMKDIR ? "RMKDIR" : id == P9_RLCREATE ? "RLCREATE" : id == P9_RSYMLINK ? "RSYMLINK" : + id == P9_RGETATTR ? "RGETATTR" : id == P9_RLINK ? "RLINK" : id == P9_RUNLINKAT ? "RUNLINKAT" : id == P9_RFLUSH ? "RFLUSH" :
'Tgetattr' 9p request and its 'Rgetattr' response types are already used by test client, however this response type is yet missing in function rmessage_name(), so add it. Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com> --- tests/qtest/libqos/virtio-9p-client.c | 1 + 1 file changed, 1 insertion(+)