Re: [PATCH] refcount: restore kref_get and kref_put to non-GPL status

From: Christoph Hellwig
Date: Wed Mar 08 2017 - 11:04:02 EST


Hi John,

all Linux kernel code is licenced under the GPLv2.0, and maybe only
be used by derived works if that work is available under a
GPL-compatible license. the _GPL export are just a very strong hint
that it's almost impossible not to be derived work - using non-trivial
inline functions should be a just as strong hint so this is not going
to change anything.