diff options
Diffstat (limited to 'hw/9pfs/9p.h')
-rw-r--r-- | hw/9pfs/9p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h index 32df81f360..00381591ff 100644 --- a/hw/9pfs/9p.h +++ b/hw/9pfs/9p.h @@ -279,9 +279,9 @@ struct V9fsFidState { int open_flags; uid_t uid; int ref; - int clunked; - V9fsFidState *next; - V9fsFidState *rclm_lst; + bool clunked; + QSIMPLEQ_ENTRY(V9fsFidState) next; + QSLIST_ENTRY(V9fsFidState) reclaim_next; }; typedef enum AffixType_t { @@ -339,7 +339,7 @@ typedef struct { struct V9fsState { QLIST_HEAD(, V9fsPDU) free_list; QLIST_HEAD(, V9fsPDU) active_list; - V9fsFidState *fid_list; + QSIMPLEQ_HEAD(, V9fsFidState) fid_list; FileOperations *ops; FsContext ctx; char *tag; |