Revision cc720ddb hw/9pfs/virtio-9p.h
b/hw/9pfs/virtio-9p.h | ||
---|---|---|
204 | 204 |
int flags; |
205 | 205 |
} V9fsXattr; |
206 | 206 |
|
207 |
/* |
|
208 |
* Filled by fs driver on open and other |
|
209 |
* calls. |
|
210 |
*/ |
|
211 |
union V9fsFidOpenState { |
|
212 |
int fd; |
|
213 |
DIR *dir; |
|
214 |
V9fsXattr xattr; |
|
215 |
}; |
|
216 |
|
|
207 | 217 |
struct V9fsFidState |
208 | 218 |
{ |
209 | 219 |
int fid_type; |
210 | 220 |
int32_t fid; |
211 | 221 |
V9fsPath path; |
212 |
union { |
|
213 |
int fd; |
|
214 |
DIR *dir; |
|
215 |
V9fsXattr xattr; |
|
216 |
} fs; |
|
217 |
union { |
|
218 |
int fd; |
|
219 |
DIR *dir; |
|
220 |
} fs_reclaim; |
|
222 |
V9fsFidOpenState fs; |
|
223 |
V9fsFidOpenState fs_reclaim; |
|
221 | 224 |
int flags; |
222 | 225 |
int open_flags; |
223 | 226 |
uid_t uid; |
Also available in: Unified diff