mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/9pfs: Update v9fs_getlock to use coroutines
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
This commit is contained in:
parent
0c27bf2a45
commit
e4e414a427
2 changed files with 19 additions and 32 deletions
|
@ -412,15 +412,6 @@ typedef struct V9fsGetlock
|
|||
V9fsString client_id;
|
||||
} V9fsGetlock;
|
||||
|
||||
typedef struct V9fsGetlockState
|
||||
{
|
||||
V9fsPDU *pdu;
|
||||
size_t offset;
|
||||
struct stat stbuf;
|
||||
V9fsFidState *fidp;
|
||||
V9fsGetlock *glock;
|
||||
} V9fsGetlockState;
|
||||
|
||||
size_t pdu_packunpack(void *addr, struct iovec *sg, int sg_count,
|
||||
size_t offset, size_t size, int pack);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue