Re: [PATCH v4 01/11] 9p: linux: Fix a couple Linux assumptions

2022-02-07 Thread Greg Kurz
On Sun, 6 Feb 2022 15:07:09 -0500 Will Cohen wrote: > From: Keno Fischer > > - Guard Linux only headers. > - Add qemu/statfs.h header to abstract over the which >headers are needed for struct statfs > - Define `ENOATTR` only if not only defined >(it's defined in system headers on Da

Re: [PATCH v4 01/11] 9p: linux: Fix a couple Linux assumptions

2022-02-06 Thread Philippe Mathieu-Daudé via
On 6/2/22 21:07, Will Cohen wrote: From: Keno Fischer - Guard Linux only headers. - Add qemu/statfs.h header to abstract over the which headers are needed for struct statfs - Define `ENOATTR` only if not only defined (it's defined in system headers on Darwin). Signed-off-by: Keno

[PATCH v4 01/11] 9p: linux: Fix a couple Linux assumptions

2022-02-06 Thread Will Cohen
From: Keno Fischer - Guard Linux only headers. - Add qemu/statfs.h header to abstract over the which headers are needed for struct statfs - Define `ENOATTR` only if not only defined (it's defined in system headers on Darwin). Signed-off-by: Keno Fischer [Michael Roitzsch: - Rebase for