On Mon, 16 Apr 2012 10:31:58 -0400
Josh Boyer <jwboyer(a)redhat.com> wrote:
On Mon, Apr 16, 2012 at 10:24:47AM -0400, Jeff Layton wrote:
> Recently, I added a new upcall to mainline kernels and with that I
> added a new header file to describe the upcall/downcall format
> (include/linux/nfsd/cld.h).
>
> I've noticed though that that file is not being packaged in the
> kernel-headers package, even though the other files in the linux/nfsd
> dir are. Is there some master list that I need to add this file to? Or
> do I need to mark this file in some way to ensure that it gets included
> in kernel-headers?
We just run 'make headers_install', which uses the upstream's header
sanitize and install method for kernel headers. You probably need to
add your new header to include/linux/nfsd/Kbuild if it's meant to be
exported to userspace. E.g. send something like the following
upstream.
josh
diff --git a/include/linux/nfsd/Kbuild b/include/linux/nfsd/Kbuild
index b8d4001..b35b5ea 100644
--- a/include/linux/nfsd/Kbuild
+++ b/include/linux/nfsd/Kbuild
@@ -2,3 +2,4 @@ header-y += debug.h
header-y += export.h
header-y += nfsfh.h
header-y += stats.h
+header-y += cld.h
Ahh thanks. That looks like the special sauce I was looking for!
Cheers,
--
Jeff Layton <jlayton(a)poochiereds.net>