Re: [PATCH v2] 9p: move P9_XATTR_SIZE_MAX from 9p.h to 9p.c

2022-04-01 Thread Christian Schoenebeck
On Freitag, 1. April 2022 13:01:31 CEST Thomas Huth wrote: > On 31/03/2022 22.06, Will Cohen wrote: > > On Thu, Mar 31, 2022 at 4:00 PM Peter Maydell > > > > wrote: > > On Thu, 31 Mar 2022 at 19:27, Will Cohen > > > > wrote:

Re: [PATCH v2] 9p: move P9_XATTR_SIZE_MAX from 9p.h to 9p.c

2022-04-01 Thread Thomas Huth
On 31/03/2022 22.06, Will Cohen wrote: On Thu, Mar 31, 2022 at 4:00 PM Peter Maydell > wrote: On Thu, 31 Mar 2022 at 19:27, Will Cohen mailto:wwco...@gmail.com>> wrote: > > The patch set adding 9p functionality to darwin introduced an issue > w

Re: [PATCH v2] 9p: move P9_XATTR_SIZE_MAX from 9p.h to 9p.c

2022-03-31 Thread Will Cohen
On Thu, Mar 31, 2022 at 4:00 PM Peter Maydell wrote: > On Thu, 31 Mar 2022 at 19:27, Will Cohen wrote: > > > > The patch set adding 9p functionality to darwin introduced an issue > > where limits.h, which defines XATTR_SIZE_MAX, is included in 9p.c, > > though the referenced constant is needed i

Re: [PATCH v2] 9p: move P9_XATTR_SIZE_MAX from 9p.h to 9p.c

2022-03-31 Thread Peter Maydell
On Thu, 31 Mar 2022 at 19:27, Will Cohen wrote: > > The patch set adding 9p functionality to darwin introduced an issue > where limits.h, which defines XATTR_SIZE_MAX, is included in 9p.c, > though the referenced constant is needed in 9p.h. This commit fixes that > issue by moving the definition o

[PATCH v2] 9p: move P9_XATTR_SIZE_MAX from 9p.h to 9p.c

2022-03-31 Thread Will Cohen
The patch set adding 9p functionality to darwin introduced an issue where limits.h, which defines XATTR_SIZE_MAX, is included in 9p.c, though the referenced constant is needed in 9p.h. This commit fixes that issue by moving the definition of P9_XATTR_SIZE_MAX, which uses XATTR_SIZE_MAX, to also be