9pfs: make V9fsPath usable via P9Array API

Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <79a0ddf8375f6c95f0565ef155a1bf1e9387664f.1633097129.git.qemu_oss@crudebyte.com>
This commit is contained in:
Christian Schoenebeck 2021-10-01 16:27:46 +02:00
parent 42bdeb04b6
commit cc82fde9c7
2 changed files with 4 additions and 0 deletions

View file

@ -50,6 +50,8 @@ enum {
Oappend = 0x80,
};
P9ARRAY_DEFINE_TYPE(V9fsPath, v9fs_path_free);
static ssize_t pdu_marshal(V9fsPDU *pdu, size_t offset, const char *fmt, ...)
{
ssize_t ret;