Re: vnode_if.h not found / make buildkernel on FreeBSD/HEAD-16
- In reply to: Konstantin Belousov : "Re: vnode_if.h not found / make buildkernel on FreeBSD/HEAD-16"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 May 2026 19:50:13 UTC
Konstantin Belousov <kostikbel@gmail.com> writes:
> I do not see why sys/mount.h is needed by genassym.c.
Well, that certainly solves the immediate problem...
> commit fe0f116bd3a5115813c4c3ba4a1546d09b5e73b1
> Author: Konstantin Belousov <kib@FreeBSD.org>
> Date: Sat May 16 22:27:40 2026 +0300
>
> x86: remove sys/mount.h from genassym.c
>
> The header is not needed, and causes some issues with build because it
> requires vnode_if.h generated due to transient dependency from vnode.h.
>
> While there, remove unneeded explicit sys/cdefs.h and sys/param.h usage.
>
> Fixes: 1d5e4020e36e1cc9e906200c9c3c784ef43d977e
Please use this format instead:
Fixes: 1d5e4020e36e ("vnode: add VIRF_KNOTE flag")
I use the following alias to generate it:
fix = show -s --abbrev=12 --pretty=format:'Fixes:%x09%x09%h (%x22%s%x22)%n'
DES
--
Dag-Erling Smørgrav - des@FreeBSD.org