Re: build of vfs_lookup.c now broken in non-INVARIANTS kernels

2022-09-17 Thread Gary Jennejohn
On Sat, 17 Sep 2022 12:46:36 +0200
Mateusz Guzik  wrote:

> fixed in 
> https://cgit.freebsd.org/src/commit/?id=b77bdfdb67c2e9660658a0373662e4263a905e90
>
> On 9/17/22, Gary Jennejohn  wrote:
> > Compiling vfs_lookup.c now fails when NONINVARIANTS is not included in
> > the kernel config file because NDVALIDATE is defined as NDVALIDATE_impl,
> > which itself is only defined when NONINVARIANTS is also defined.
> >
> > This breaks buildkernel.
> >

Thanks!

--
Gary Jennejohn



Re: build of vfs_lookup.c now broken in non-INVARIANTS kernels

2022-09-17 Thread Gary Jennejohn
On Sat, 17 Sep 2022 12:41:25 +0200
Gary Jennejohn  wrote:

> Compiling vfs_lookup.c now fails when NONINVARIANTS is not included in
> the kernel config file because NDVALIDATE is defined as NDVALIDATE_impl,
> which itself is only defined when NONINVARIANTS is also defined.
>
> This breaks buildkernel.
>

Woops. NONINVARIANTS should be INVARIANTS.

--
Gary Jennejohn



Re: build of vfs_lookup.c now broken in non-INVARIANTS kernels

2022-09-17 Thread Mateusz Guzik
fixed in 
https://cgit.freebsd.org/src/commit/?id=b77bdfdb67c2e9660658a0373662e4263a905e90

On 9/17/22, Gary Jennejohn  wrote:
> Compiling vfs_lookup.c now fails when NONINVARIANTS is not included in
> the kernel config file because NDVALIDATE is defined as NDVALIDATE_impl,
> which itself is only defined when NONINVARIANTS is also defined.
>
> This breaks buildkernel.
>
> --
> Gary Jennejohn
>
>


-- 
Mateusz Guzik 



build of vfs_lookup.c now broken in non-INVARIANTS kernels

2022-09-17 Thread Gary Jennejohn
Compiling vfs_lookup.c now fails when NONINVARIANTS is not included in
the kernel config file because NDVALIDATE is defined as NDVALIDATE_impl,
which itself is only defined when NONINVARIANTS is also defined.

This breaks buildkernel.

--
Gary Jennejohn