Re: [PATCH 1/2] codafs: Fix build using bare-metal toolchain
From: Sam Protsenko
Date: Wed Aug 29 2018 - 10:03:49 EST
On Wed, Aug 29, 2018 at 9:33 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> Please just drop the ifdef entirely. The file is part of the kernel
> tree and can't be used for anything non-Linux.
I have better idea :) We can modify include/linux/coda.h instead, by
checking for __KERNEL__ (along with existing check for __linux__).
This way we can leave user-space API header alone. Don't know how come
I didn't notice that in the first place... Anyway, will send v2
shortly. Thanks for the review.