[OpenAFS-devel] Compiling kernel module for 2.6.28.1
Dr A V Le Blanc
Dr A V Le Blanc <LeBlanc@man.ac.uk>
Fri, 23 Jan 2009 15:47:50 +0000
On 23 Jan 2009, at 09:51, Dr A V Le Blanc wrote:
> I've tried compiling the kernel module from openafs-1.5.57 for kernel
> 2.6.28.1, and I get this error:
On Fri, Jan 23, 2009 at 11:03:23AM +0000, Simon Wilkinson wrote:
>
> Unfortunately, d_alloc_anon was removed from the kernel recently, and
> replaced with the GPL only d_obtain_alias function, which OpenAFS
> cannot use. Unfortunately that, and the relicensing of a load of the
> sunrpc functions to also be GPL only, means that the Linux NFS
> translator is pretty much dead in the water.
>
> I think the attached patch should disable this code...
And it compiles fine with this patch, and produces two modules:
libafs.ko and afspag.ko.
Many thanks.
-- Owen