hw/9pfs: Update v9fs_xattrcreate to use coroutines

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
This commit is contained in:
Aneesh Kumar K.V 2011-05-18 16:06:26 -07:00
parent 670185a641
commit f10ff58d01
2 changed files with 26 additions and 38 deletions

View file

@ -399,17 +399,6 @@ typedef struct V9fsRenameState {
V9fsString name;
} V9fsRenameState;
typedef struct V9fsXattrState
{
V9fsPDU *pdu;
size_t offset;
V9fsFidState *file_fidp;
V9fsFidState *xattr_fidp;
V9fsString name;
int64_t size;
int flags;
void *value;
} V9fsXattrState;
#define P9_LOCK_SUCCESS 0
#define P9_LOCK_BLOCKED 1