diff options
author | Laurent Vivier <laurent@vivier.eu> | 2017-03-02 01:54:48 +0100 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2017-05-29 14:56:07 +0300 |
commit | c4e316cfb5e3f4b58d5d6fb6cb6c2279a5c3229a (patch) | |
tree | 2a09875c757f17450afff02fc9b5960d0eeb76e3 /hw/ide/macio.c | |
parent | 43046b5a074029a9354bb2b772ca1f91320440f5 (diff) | |
download | qemu-c4e316cfb5e3f4b58d5d6fb6cb6c2279a5c3229a.tar.gz |
linux-user: fix inotify
When a fd is opened using inotify_init(), a read provides
one or more inotify_event structures:
struct inotify_event {
int wd;
uint32_t mask;
uint32_t cookie;
uint32_t len;
char name[];
};
The integer fields must be byte-swapped to the target endianness.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'hw/ide/macio.c')
0 files changed, 0 insertions, 0 deletions