提交 21cf9edf 编写于 作者: G Greg Kurz

9pfs: drop one user of struct V9fsFidState

To comply with QEMU coding style.
Signed-off-by: NGreg Kurz <groug@kaod.org>
上级 299d1ea9
...@@ -117,7 +117,7 @@ static inline char *rpath(FsContext *ctx, const char *path) ...@@ -117,7 +117,7 @@ static inline char *rpath(FsContext *ctx, const char *path)
#define P9_IOHDRSZ 24 #define P9_IOHDRSZ 24
typedef struct V9fsPDU V9fsPDU; typedef struct V9fsPDU V9fsPDU;
struct V9fsState; typedef struct V9fsState V9fsState;
typedef struct { typedef struct {
uint32_t size_le; uint32_t size_le;
...@@ -137,7 +137,7 @@ struct V9fsPDU ...@@ -137,7 +137,7 @@ struct V9fsPDU
uint8_t id; uint8_t id;
uint8_t cancelled; uint8_t cancelled;
CoQueue complete; CoQueue complete;
struct V9fsState *s; V9fsState *s;
QLIST_ENTRY(V9fsPDU) next; QLIST_ENTRY(V9fsPDU) next;
uint32_t idx; uint32_t idx;
}; };
...@@ -230,7 +230,7 @@ struct V9fsFidState ...@@ -230,7 +230,7 @@ struct V9fsFidState
V9fsFidState *rclm_lst; V9fsFidState *rclm_lst;
}; };
typedef struct V9fsState struct V9fsState
{ {
QLIST_HEAD(, V9fsPDU) free_list; QLIST_HEAD(, V9fsPDU) free_list;
QLIST_HEAD(, V9fsPDU) active_list; QLIST_HEAD(, V9fsPDU) active_list;
...@@ -251,7 +251,7 @@ typedef struct V9fsState ...@@ -251,7 +251,7 @@ typedef struct V9fsState
Error *migration_blocker; Error *migration_blocker;
V9fsConf fsconf; V9fsConf fsconf;
V9fsQID root_qid; V9fsQID root_qid;
} V9fsState; };
/* 9p2000.L open flags */ /* 9p2000.L open flags */
#define P9_DOTL_RDONLY 00000000 #define P9_DOTL_RDONLY 00000000
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册