Re: [PATCH] tools: Fixed MIPS builds due to struct flock re-definition

From: Christoph Hellwig
Date: Tue Jul 19 2022 - 11:16:35 EST


On Tue, Jul 19, 2022 at 09:42:23AM +0200, Arnd Bergmann wrote:
> I think the correct fix to address the problem in both versions and
> get them back into sync would be something like the patch below.
> I have done zero testing on it though.
>
> Christoph and Florian, any other suggestions?

Fine with me. I still think these whole tools/ copy of headers are just
broken. Userspace code must use system headers and not try to include
two slightly out of sync versions of the same header in obsfucated ways.